mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Fix bogus pause flag on dmix
Fix bogus PCM pause flag on dmix. It doesn't support pause properly.
This commit is contained in:
parent
5e3fc87888
commit
982786e9eb
1 changed files with 2 additions and 0 deletions
|
|
@ -805,6 +805,8 @@ int snd_pcm_direct_resume(snd_pcm_t *pcm)
|
||||||
/* copy the slave setting */
|
/* copy the slave setting */
|
||||||
static void save_slave_setting(snd_pcm_direct_t *dmix, snd_pcm_t *spcm)
|
static void save_slave_setting(snd_pcm_direct_t *dmix, snd_pcm_t *spcm)
|
||||||
{
|
{
|
||||||
|
spcm->info &= ~SND_PCM_INFO_PAUSE;
|
||||||
|
|
||||||
COPY_SLAVE(access);
|
COPY_SLAVE(access);
|
||||||
COPY_SLAVE(format);
|
COPY_SLAVE(format);
|
||||||
COPY_SLAVE(subformat);
|
COPY_SLAVE(subformat);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue