mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
Revert "pcm: route: Don't handle no matching chmap as a serious error"
This reverts commit 5b72e3d530.
With the previous fixes, it's no longer needed as a workaround for
regression with PulseAudio.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
dbe6d7f869
commit
015c34bf15
1 changed files with 3 additions and 1 deletions
|
|
@ -943,8 +943,10 @@ static int find_matching_chmap(snd_pcm_t *spcm, snd_pcm_chmap_t *tt_chmap,
|
||||||
|
|
||||||
snd_pcm_free_chmaps(chmaps);
|
snd_pcm_free_chmaps(chmaps);
|
||||||
|
|
||||||
if (*found_chmap == NULL)
|
if (*found_chmap == NULL) {
|
||||||
SNDERR("Found no matching channel map");
|
SNDERR("Found no matching channel map");
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue