]> code.delx.au - pulseaudio/commitdiff
Use default channel map for Solaris module. There doesn't seem to be a standard
authorPierre Ossman <ossman@cendio.se>
Wed, 17 May 2006 06:31:18 +0000 (06:31 +0000)
committerPierre Ossman <ossman@cendio.se>
Wed, 17 May 2006 06:31:18 +0000 (06:31 +0000)
for > 2 channels, so we'll have to rely on the user.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@889 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/modules/module-solaris.c

index eaac9e6e4591f457a5be83cca512f338a4866bab..3e7c2fb463a9144d22d27b21d23d2e490a6892c0 100644 (file)
@@ -525,7 +525,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_DEFAULT) < 0) {
         pa_log(__FILE__": failed to parse sample specification");
         goto fail;
     }