summaryrefslogtreecommitdiffstats
path: root/src/polyp/stream.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-05-16 23:47:38 +0000
committerLennart Poettering <lennart@poettering.net>2006-05-16 23:47:38 +0000
commit4b6ab291a787ff597c938842b569a35434ab11d8 (patch)
tree2cecfeceebbb509ed2f32d94c0f489ed3c5654bb /src/polyp/stream.c
parentc63cc7bb79fb60b6493c3e80648501fbe8a83963 (diff)
* modify pa_channel_map_init_auto() to take an extra argument specifying the standard to use (ALSA, AIFF, ...)
* add some more validity checks to pa_source_new(),pa_sink_new(),pa_sink_input_new(),pa_source_output_new() git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@888 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp/stream.c')
-rw-r--r--src/polyp/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polyp/stream.c b/src/polyp/stream.c
index bccdebe5..b2711ce0 100644
--- a/src/polyp/stream.c
+++ b/src/polyp/stream.c
@@ -74,7 +74,7 @@ pa_stream *pa_stream_new(pa_context *c, const char *name, const pa_sample_spec *
if (map)
s->channel_map = *map;
else
- pa_channel_map_init_auto(&s->channel_map, ss->channels);
+ pa_channel_map_init_auto(&s->channel_map, ss->channels, PA_CHANNEL_MAP_DEFAULT);
s->channel = 0;
s->channel_valid = 0;