use pa_channel_map_compatible() where applicable

This commit is contained in:
Lennart Poettering 2008-09-05 01:31:17 +02:00
parent b56f344b97
commit 3f6f13f902

View file

@ -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;
}