diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2011-03-08 20:16:00 +0530 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2011-05-02 11:55:38 +0530 |
commit | dedbc942ab2090320856c36d6673db12026efdc1 (patch) | |
tree | 0a1fb77bbe9f81a87d1265ec679e686fe4084e5b /src/pulse/stream.h | |
parent | 8631f4e2c44b47db76795bebdbab54914a1f3ea0 (diff) |
stream: Add API to get a stream's pa_format_info
Diffstat (limited to 'src/pulse/stream.h')
-rw-r--r-- | src/pulse/stream.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulse/stream.h b/src/pulse/stream.h index 48bf09df..b265fae6 100644 --- a/src/pulse/stream.h +++ b/src/pulse/stream.h @@ -709,6 +709,9 @@ const pa_sample_spec* pa_stream_get_sample_spec(pa_stream *s); /** Return a pointer to the stream's channel map. */ const pa_channel_map* pa_stream_get_channel_map(pa_stream *s); +/** Return a pointer to the stream's format \since 1.0 */ +const pa_format_info* pa_stream_get_format_info(pa_stream *s); + /** Return the per-stream server-side buffer metrics of the * stream. Only valid after the stream has been connected successfuly * and if the server is at least PulseAudio 0.9. This will return the |