From a6ac279068bbe315b5f768d43e61e8ce06b5304c Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 21 Jun 2008 15:37:55 +0200 Subject: client: Read stsz atom containing frame sizes This has two advantages: 1) We can pass the correct amount of bytes to NeAACDecDecode (). This should fix some decoding error messages. And 2) We can show the length of the song and the remaining (or already played time) to the user. Cool, eh? --- src/Makefile.am | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 6bffa2d..606430b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,10 @@ bin_PROGRAMS = pianobar -pianobar_SOURCES = main.c terminal.c terminal.h settings.c settings.h -pianobar_CPPFLAGS = ${LIBCURL_CFLAGS} ${LIBAO_CFLAGS} ${LIBXML_CFLAGS} -I../libpiano/src -pianobar_LDADD = ${LIBCURL_LIBS} ${LIBAO_LIBS} ${LIBFAAD_LIBS} ${LIBREADLINE_LIBS} ${LIBXML_LIBS} -lpthread ../libpiano/src/libpiano.la +pianobar_SOURCES = main.c terminal.c terminal.h settings.c settings.h \ + player.c player.h +pianobar_CPPFLAGS = ${LIBCURL_CFLAGS} ${LIBAO_CFLAGS} ${LIBXML_CFLAGS} \ + -I../libpiano/src +pianobar_LDADD = ${LIBCURL_LIBS} ${LIBAO_LIBS} ${LIBFAAD_LIBS} \ + ${LIBREADLINE_LIBS} ${LIBXML_LIBS} -lpthread \ + ../libpiano/src/libpiano.la dist_man1_MANS = pianobar.1 -- cgit v1.2.3