diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-09-05 01:31:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-09-05 01:31:17 +0200 |
commit | 3f6f13f90227d1adfe39b56671aa34745778f35d (patch) | |
tree | 77111d106027107f91b473c8ec1b20275caeedbc /src | |
parent | b56f344b97e9520828a76cf54d81663fa48cbd33 (diff) |
use pa_channel_map_compatible() where applicable
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/pacat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/pacat.c b/src/utils/pacat.c index f42abc8e..76aea36a 100644 --- a/src/utils/pacat.c +++ b/src/utils/pacat.c @@ -695,7 +695,7 @@ int main(int argc, char *argv[]) { goto quit; } - if (channel_map_set && channel_map.channels != sample_spec.channels) { + if (channel_map_set && pa_channel_map_compatible(&channel_map, &sample_spec)) { fprintf(stderr, _("Channel map doesn't match sample specification\n")); goto quit; } |