]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: dmix: Don't clear scpm->info flag
authorTakashi Iwai <tiwai@suse.de>
Fri, 6 Sep 2024 08:15:46 +0000 (10:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Sep 2024 08:15:46 +0000 (10:15 +0200)
commitfc58f8fcc39c365feff4261d4923bef384fe5700
tree68baf28e912d897f214cadc8a2f8cae19782d88e
parent2adc30e9838daf62312f32a0a93129d64b1668b3
pcm: dmix: Don't clear scpm->info flag

spcm->info bits should be a copy of the slave PCM info as is.
While we clear the unsupported SND_PCM_INFO_PAUSE bit there, it should
be rather cleared only for the exposed info to apps, not spcm->info.

Fixes: 982786e9ebff ("Fix bogus pause flag on dmix")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_direct.c