diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-05-17 13:09:46 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-05-17 13:09:46 +0000 |
commit | 270a409bf543f0ec7152f66e76d22445434aca4d (patch) | |
tree | 722b40f7980942fc5cdcb5a4dcb215ab8fb2b693 /src/modules/module-oss.c | |
parent | ed3606c88480de9b348dee451e7ebfd1f6bd15d7 (diff) | |
download | pulseaudio-270a409bf543f0ec7152f66e76d22445434aca4d.tar.gz |
use PA_CHANNEL_MAP_OSS in module-oss, module-oss-mmap
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@896 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules/module-oss.c')
-rw-r--r-- | src/modules/module-oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-oss.c b/src/modules/module-oss.c index eab9a60a2..f6d19544b 100644 --- a/src/modules/module-oss.c +++ b/src/modules/module-oss.c @@ -347,7 +347,7 @@ int pa__init(pa_core *c, pa_module*m) { 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; } |