Set default channel map system for waveout module.
authorPierre Ossman <ossman@cendio.se>
Wed, 17 May 2006 06:58:58 +0000 (06:58 +0000)
committerPierre Ossman <ossman@cendio.se>
Wed, 17 May 2006 06:58:58 +0000 (06:58 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@891 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/modules/module-waveout.c

index 3460742..2d9c42e 100644 (file)
@@ -469,7 +469,7 @@ int pa__init(pa_core *c, pa_module*m) {
     }
 
     ss = c->default_sample_spec;
-    if (pa_modargs_get_sample_spec_and_channel_map(ma, &ss, &map) < 0) {
+    if (pa_modargs_get_sample_spec_and_channel_map(ma, &ss, &map, PA_CHANNEL_MAP_WAVEEX) < 0) {
         pa_log(__FILE__": failed to parse sample specification");
         goto fail;
     }