[pulseaudio-discuss] [PATCH v3 16/17] stream: Mention pa_stream_new_extended() in the high-level stream creation documentation
Tanu Kaskinen
tanu.kaskinen at linux.intel.com
Wed Jan 8 11:50:59 PST 2014
---
src/pulse/stream.h | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/pulse/stream.h b/src/pulse/stream.h
index bec668f..49f5789 100644
--- a/src/pulse/stream.h
+++ b/src/pulse/stream.h
@@ -52,9 +52,14 @@
* \section create_sec Creating
*
* To access a stream, a pa_stream object must be created using
- * pa_stream_new(). At this point the audio sample format and mapping of
- * channels must be specified. See \ref sample and \ref channelmap for more
- * information about those structures.
+ * pa_stream_new() or pa_stream_new_extended(). pa_stream_new() is for PCM
+ * streams only, while pa_stream_new_extended() can be used for both PCM and
+ * compressed audio streams. At this point the application must specify what
+ * stream format(s) it supports. See \ref sample and \ref channelmap for more
+ * information on the stream format parameters. FIXME: Those references only
+ * talk about PCM parameters, we should also have an overview page for how the
+ * pa_format_info based stream format configuration works. Bug filed:
+ * https://bugs.freedesktop.org/show_bug.cgi?id=72265
*
* This first step will only create a client-side object, representing the
* stream. To use the stream, a server-side object must be created and
--
1.8.3.1
More information about the pulseaudio-discuss
mailing list