Add Gerd Knorr's cdda-player as an example program using the libcdio Audio

controls.
This commit is contained in:
rocky
2005-03-07 12:55:12 +00:00
parent 068120281b
commit db3b2fa938
3 changed files with 1313 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ define(RELEASE_NUM, 73)
define(CDIO_VERSION_STR, 0.$1cvs)
AC_PREREQ(2.52)
AC_REVISION([$Id: configure.ac,v 1.146 2005/03/03 10:34:14 rocky Exp $])dnl
AC_REVISION([$Id: configure.ac,v 1.147 2005/03/07 12:55:12 rocky Exp $])dnl
AC_INIT(libcdio, CDIO_VERSION_STR(RELEASE_NUM))
AC_CONFIG_SRCDIR(src/cd-info.c)
@@ -159,6 +159,8 @@ AC_HEADER_STDC
AC_CHECK_HEADERS(errno.h fcntl.h glob.h pwd.h)
AC_CHECK_HEADERS(stdarg.h stdbool.h stdio.h sys/cdio.h sys/param.h)
AC_CHECK_HEADERS(curses.h, ,[enable_cdda_player"no"])
AC_SUBST(SBPCD_H)
AC_SUBST(UCDROM_H)
AC_SUBST(TYPESIZES)
@@ -298,6 +300,7 @@ if test "x$enable_versioned_libs" = "xyes" ; then
fi
AM_CONDITIONAL(CYGWIN, test "x$CYGWIN" = "xyes")
AM_CONDITIONAL(BUILD_CDDA_PLAYER, test "x$enable_cdda_player" = "xyes")
AM_CONDITIONAL(BUILD_CD_DRIVE, test "x$enable_cd_drive" = "xyes")
AM_CONDITIONAL(BUILD_CDINFO, test "x$enable_cd_info" = "xyes")
AM_CONDITIONAL(BUILD_CD_READ, test "x$enable_cd_read" = "xyes")

View File

@@ -1,4 +1,4 @@
# $Id: Makefile.am,v 1.33 2005/03/06 11:23:15 rocky Exp $
# $Id: Makefile.am,v 1.34 2005/03/07 12:55:12 rocky Exp $
#
# Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
#
@@ -33,6 +33,12 @@ $(man_MANS): %.1: %
-$(HELP2MAN) --output=$@ ./$<
endif
if BUILD_CDDA_PLAYER
cdda_player_SOURCES = cdda-player.c cddb.c cddb.h
cdda_player_LDADD = $(LIBCDIO_LIBS) $(CDDB_LIBS) -lcurses
bin_cdda_player = cdda-player
endif
if BUILD_CD_DRIVE
cd_drive_SOURCES = cd-drive.c util.c util.h
cd_drive_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LIBPOPT_LIBS) $(LIBICONV)
@@ -69,7 +75,7 @@ iso_read_LDADD = $(LIBISO9660_LIBS) $(LIBCDIO_LIBS) $(LIBPOPT_LIBS) $(LIBICON
bin_iso_read = iso-read
endif
bin_PROGRAMS = $(bin_cd_drive) $(bin_cd_info) $(bin_cdinfo_linux) $(bin_cd_read) $(bin_iso_info) $(bin_iso_read)
bin_PROGRAMS = $(bin_cd_drive) $(bin_cd_info) $(bin_cdinfo_linux) $(bin_cd_read) $(bin_iso_info) $(bin_iso_read) $(bin_cdda_player)
# Put LIBPOPT_CFLAGS after local include in case LIBPOPT has headers common
# to those in LIBCDIO_CFLAGS

1301
src/cdda-player.c Normal file

File diff suppressed because it is too large Load Diff