summaryrefslogtreecommitdiffstats
path: root/src/polyp/stream.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-05-25 23:20:28 +0000
committerLennart Poettering <lennart@poettering.net>2006-05-25 23:20:28 +0000
commit7d975345a555fc20e5019307c7dc01545552e42d (patch)
tree738c6340193a144b5b6d96915210fa355b851d1f /src/polyp/stream.h
parentb754d5095e8c1bbf41e7c0147dfb2328145a2c83 (diff)
* add new API function pa_stream_get_buffer_attr().
* modify pacat.c to make use of that new API * extend protocol to allow transfer of the necessary information * update protocol version accordingly git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@976 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp/stream.h')
-rw-r--r--src/polyp/stream.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/polyp/stream.h b/src/polyp/stream.h
index ad77d938..d1f558ae 100644
--- a/src/polyp/stream.h
+++ b/src/polyp/stream.h
@@ -439,6 +439,11 @@ const pa_sample_spec* pa_stream_get_sample_spec(pa_stream *s);
/** Return a pointer to the stream's channel map. \since 0.8 */
const pa_channel_map* pa_stream_get_channel_map(pa_stream *s);
+/** Return the buffer metrics of the stream. Only valid after the
+ * stream has been connected successfuly and if the server is at least
+ * Polypaudio 0.9. \since 0.9.0 */
+const pa_buffer_attr* pa_stream_get_buffer_attr(pa_stream *s);
+
PA_C_DECL_END
#endif