summaryrefslogtreecommitdiffstats
path: root/src/pulse/stream.h
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2011-06-18 15:36:18 -0700
committerArun Raghavan <arun.raghavan@collabora.co.uk>2011-06-19 17:46:35 -0700
commit257bdcafe3d8253bb9a6ffbeb7123968ea74aafb (patch)
tree7802cc1e943e6467f6e82c9d1b5921eb1635f197 /src/pulse/stream.h
parent573b9d6ca87489cad40a6abb8c69c0c26569691b (diff)
stream: Simplify passing of formats in extended API
Passing a NULL-terminated array of pa_format_info pointers is a bit unwieldy for clients. Instead of this, let's pass in an array of pointers and the number of elements in the array.
Diffstat (limited to 'src/pulse/stream.h')
-rw-r--r--src/pulse/stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pulse/stream.h b/src/pulse/stream.h
index b265fae6..010f968f 100644
--- a/src/pulse/stream.h
+++ b/src/pulse/stream.h
@@ -365,6 +365,7 @@ pa_stream *pa_stream_new_extended(
pa_context *c /**< The context to create this stream in */,
const char *name /**< A name for this stream */,
pa_format_info * const * formats /**< The list of formats that can be provided */,
+ unsigned int n_formats /**< The number of formats being passed in */,
pa_proplist *p /**< The initial property list */);
/** Decrease the reference counter by one */