summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-21 15:37:55 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-21 15:37:55 +0200
commita6ac279068bbe315b5f768d43e61e8ce06b5304c (patch)
treeeaab32c6ee7366018cec46c4d0906cf401c315cc /src/Makefile.am
parent9aa3ab30f4ef648c0e89ab6dbe9ed1a99680abff (diff)
downloadpianobar-a6ac279068bbe315b5f768d43e61e8ce06b5304c.tar.gz
pianobar-a6ac279068bbe315b5f768d43e61e8ce06b5304c.tar.bz2
pianobar-a6ac279068bbe315b5f768d43e61e8ce06b5304c.zip
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?
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am10
1 files changed, 7 insertions, 3 deletions
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