mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
use pa_channel_map_compatible() where applicable
This commit is contained in:
parent
b56f344b97
commit
3f6f13f902
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue