summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pulse/pulseaudio.h3
-rw-r--r--src/pulse/stream.h2
-rw-r--r--src/pulsecore/source.c3
3 files changed, 5 insertions, 3 deletions
diff --git a/src/pulse/pulseaudio.h b/src/pulse/pulseaudio.h
index ee8a4bb8..4a4531e6 100644
--- a/src/pulse/pulseaudio.h
+++ b/src/pulse/pulseaudio.h
@@ -43,6 +43,7 @@
#include <pulse/mainloop-signal.h>
#include <pulse/util.h>
#include <pulse/timeval.h>
+#include <pulse/proplist.h>
/** \file
* Include all libpulse header files at once. The following
@@ -50,7 +51,7 @@
* \ref context.h, \ref stream.h, \ref introspect.h, \ref subscribe.h,
* \ref scache.h, \ref version.h, \ref error.h, \ref channelmap.h,
* \ref operation.h,\ref volume.h, \ref xmalloc.h, \ref utf8.h, \ref
- * thread-mainloop.h, \ref mainloop.h, \ref util.h, \ref timeval.h and
+ * thread-mainloop.h, \ref mainloop.h, \ref util.h, \ref proplist.h, \ref timeval.h and
* \ref mainloop-signal.h at once */
/** \mainpage
diff --git a/src/pulse/stream.h b/src/pulse/stream.h
index 55f36b7f..fbf0ae44 100644
--- a/src/pulse/stream.h
+++ b/src/pulse/stream.h
@@ -392,7 +392,7 @@ int pa_stream_drop(pa_stream *p);
/** Return the number of bytes that may be written using pa_stream_write() */
size_t pa_stream_writable_size(pa_stream *p);
-/** Return the number of bytes that may be read using pa_stream_read()*/
+/** Return the number of bytes that may be read using pa_stream_peek()*/
size_t pa_stream_readable_size(pa_stream *p);
/** Drain a playback stream. Use this for notification when the buffer is empty */
diff --git a/src/pulsecore/source.c b/src/pulsecore/source.c
index 8256a988..e62c6c24 100644
--- a/src/pulsecore/source.c
+++ b/src/pulsecore/source.c
@@ -898,7 +898,8 @@ void pa_source_invalidate_requested_latency(pa_source *s) {
s->update_requested_latency(s);
while ((o = pa_hashmap_iterate(s->thread_info.outputs, &state, NULL)))
- o->update_source_requested_latency(o);
+ if (o->update_source_requested_latency)
+ o->update_source_requested_latency(o);
if (s->monitor_of)
pa_sink_invalidate_requested_latency(s->monitor_of);