From 982786e9ebff2622defcc8bd891de3d466040ac1 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 25 Jul 2006 15:36:13 +0200 Subject: [PATCH] Fix bogus pause flag on dmix Fix bogus PCM pause flag on dmix. It doesn't support pause properly. --- src/pcm/pcm_direct.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.47.1