diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-09-29 20:14:08 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-09-29 20:14:08 +0000 |
commit | d19378902e3a846562a14e08adeddcea9080f96c (patch) | |
tree | 2df0e7fa69c015d9f0e4d84fd697ad9333a0505a | |
parent | 073290975664d3c8624a7e6df2389d0726578436 (diff) |
update to polypaudio 0.6
git-svn-id: file:///home/lennart/svn/public/pavumeter/trunk@18 c62a5a7b-6fe3-0310-9d5a-afe6de46906b
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | src/vumeter.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 02e5750..389be70 100644 --- a/configure.ac +++ b/configure.ac @@ -45,10 +45,10 @@ AC_SUBST(GUILIBS_LIBS) if test -d ../polypaudio ; then POLYP_CFLAGS='-I$(top_srcdir)/../polypaudio' - POLYP_LIBS='-L$(top_srcdir)/../polypaudio/polyp/.libs -lpolyp-0.5 -lpolyp-mainloop-0.5 -lpolyp-mainloop-glib-0.5 -lpolyp-error-0.5' + POLYP_LIBS='-L$(top_srcdir)/../polypaudio/polyp/.libs -lpolyp-0.6 -lpolyp-mainloop-0.6 -lpolyp-mainloop-glib-0.6 -lpolyp-error-0.6' echo "*** Found polypaudio in ../polypaudio, using that version ***" else - PKG_CHECK_MODULES(POLYP, [ polyplib >= 0.5 polyplib-glib-mainloop >= 0.5 ]) + PKG_CHECK_MODULES(POLYP, [ polyplib >= 0.6 polyplib-glib-mainloop >= 0.6 ]) fi AC_SUBST(POLYP_LIBS) diff --git a/src/vumeter.cc b/src/vumeter.cc index 6fdb3a3..9c2a83b 100644 --- a/src/vumeter.cc +++ b/src/vumeter.cc @@ -354,7 +354,7 @@ static void context_get_source_info_callback(struct pa_context *c, const struct stream = pa_stream_new(c, "vumeter", &sample_spec); pa_stream_set_state_callback(stream, stream_state_callback, NULL); pa_stream_set_read_callback(stream, stream_read_callback, NULL); - pa_stream_connect_record(stream, source_name, NULL); + pa_stream_connect_record(stream, source_name, NULL, (enum pa_stream_flags) 0); } static void context_get_server_info_callback(struct pa_context *c, const struct pa_server_info*si, void *) { |