summaryrefslogtreecommitdiffstats
path: root/src/utils/pacat.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-09-05 01:31:17 +0200
committerLennart Poettering <lennart@poettering.net>2008-09-05 01:31:17 +0200
commit3f6f13f90227d1adfe39b56671aa34745778f35d (patch)
tree77111d106027107f91b473c8ec1b20275caeedbc /src/utils/pacat.c
parentb56f344b97e9520828a76cf54d81663fa48cbd33 (diff)
use pa_channel_map_compatible() where applicable
Diffstat (limited to 'src/utils/pacat.c')
-rw-r--r--src/utils/pacat.c2
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;
}