From 3f6f13f90227d1adfe39b56671aa34745778f35d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 5 Sep 2008 01:31:17 +0200 Subject: use pa_channel_map_compatible() where applicable --- src/utils/pacat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils') 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; } -- cgit