diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-02-21 16:32:42 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-02-21 16:32:42 +0100 |
commit | 4505bc9cc6bb1f9206f922a992a9be0e17703df1 (patch) | |
tree | 7a98f5c2990b19683dccbfb9128ba1cd5c9bacd9 /src/modules/oss | |
parent | 27bfa607b90b25aa4fdefc0882091093164297a5 (diff) |
introduce default channel map in addition to the default sample spec
Diffstat (limited to 'src/modules/oss')
-rw-r--r-- | src/modules/oss/module-oss.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/oss/module-oss.c b/src/modules/oss/module-oss.c index eac0c8e6..54d1679f 100644 --- a/src/modules/oss/module-oss.c +++ b/src/modules/oss/module-oss.c @@ -1185,6 +1185,7 @@ int pa__init(pa_module*m) { mode = (playback && record) ? O_RDWR : (playback ? O_WRONLY : (record ? O_RDONLY : 0)); ss = m->core->default_sample_spec; + map = m->core->default_channel_map; if (pa_modargs_get_sample_spec_and_channel_map(ma, &ss, &map, PA_CHANNEL_MAP_OSS) < 0) { pa_log("Failed to parse sample specification or channel map"); goto fail; |