[polypaudio-commits] r896 - in /trunk/src/modules: module-oss-mmap.c module-oss.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Wed May 17 06:09:48 PDT 2006


Author: lennart
Date: Wed May 17 15:09:46 2006
New Revision: 896

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=896&root=polypaudio&view=rev
Log:
use PA_CHANNEL_MAP_OSS in module-oss, module-oss-mmap

Modified:
    trunk/src/modules/module-oss-mmap.c
    trunk/src/modules/module-oss.c

Modified: trunk/src/modules/module-oss-mmap.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-oss-mmap.c?rev=896&root=polypaudio&r1=895&r2=896&view=diff
==============================================================================
--- trunk/src/modules/module-oss-mmap.c (original)
+++ trunk/src/modules/module-oss-mmap.c Wed May 17 15:09:46 2006
@@ -383,7 +383,7 @@
     }
 
     u->sample_spec = c->default_sample_spec;
-    if (pa_modargs_get_sample_spec_and_channel_map(ma, &u->sample_spec, &map, PA_CHANNEL_MAP_ALSA) < 0) {
+    if (pa_modargs_get_sample_spec_and_channel_map(ma, &u->sample_spec, &map, PA_CHANNEL_MAP_OSS) < 0) {
         pa_log(__FILE__": failed to parse sample specification or channel map");
         goto fail;
     }

Modified: trunk/src/modules/module-oss.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-oss.c?rev=896&root=polypaudio&r1=895&r2=896&view=diff
==============================================================================
--- trunk/src/modules/module-oss.c (original)
+++ trunk/src/modules/module-oss.c Wed May 17 15:09:46 2006
@@ -347,7 +347,7 @@
     mode = (playback&&record) ? O_RDWR : (playback ? O_WRONLY : (record ? O_RDONLY : 0));
 
     ss = c->default_sample_spec;
-    if (pa_modargs_get_sample_spec_and_channel_map(ma, &ss, &map, PA_CHANNEL_MAP_ALSA) < 0) {
+    if (pa_modargs_get_sample_spec_and_channel_map(ma, &ss, &map, PA_CHANNEL_MAP_OSS) < 0) {
         pa_log(__FILE__": failed to parse sample specification or channel map");
         goto fail;
     }




More information about the pulseaudio-commits mailing list