diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-06-18 23:44:26 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-06-18 23:44:26 +0200 |
commit | c2fa11e179eb65b09eb1a7629f01d97fe44273aa (patch) | |
tree | f87068c0791bb11c51f95e8ab66a876e81a72c47 /src/modules/module-jack-source.c | |
parent | 132e73b2efbda60919db355d6baa3d9687103e0f (diff) |
make user of pa_channel_map_init_extend() wherever it makes sense
Diffstat (limited to 'src/modules/module-jack-source.c')
-rw-r--r-- | src/modules/module-jack-source.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/module-jack-source.c b/src/modules/module-jack-source.c index 880bb603..03f9d15c 100644 --- a/src/modules/module-jack-source.c +++ b/src/modules/module-jack-source.c @@ -301,8 +301,7 @@ int pa__init(pa_module*m) { goto fail; } - pa_assert_se(pa_channel_map_init_auto(&map, channels, PA_CHANNEL_MAP_AUX)); - pa_channel_map_init_auto(&map, channels, PA_CHANNEL_MAP_ALSA); + pa_channel_map_init_extend(&map, channels, PA_CHANNEL_MAP_ALSA); if (pa_modargs_get_channel_map(ma, NULL, &map) < 0 || map.channels != channels) { pa_log("failed to parse channel_map= argument."); goto fail; |