From: Takashi Iwai Date: Tue, 25 Jul 2006 13:36:13 +0000 (+0200) Subject: Fix bogus pause flag on dmix X-Git-Tag: v1.0.12rc2~5 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=982786e9ebff2622defcc8bd891de3d466040ac1;p=alsa-lib.git Fix bogus pause flag on dmix Fix bogus PCM pause flag on dmix. It doesn't support pause properly. --- diff --git a/src/pcm/pcm_direct.c b/src/pcm/pcm_direct.c index d55a36da..bfa2d3e3 100644 --- a/src/pcm/pcm_direct.c +++ b/src/pcm/pcm_direct.c @@ -805,6 +805,8 @@ int snd_pcm_direct_resume(snd_pcm_t *pcm) /* copy the slave setting */ 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(format); COPY_SLAVE(subformat);