From: Takashi Iwai Date: Tue, 17 May 2005 09:26:34 +0000 (+0000) Subject: Propagate pcm->info X-Git-Tag: v1.0.9rc4~26 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=3092edabf20087130b667e623444b513e7f72597;p=alsa-lib.git Propagate pcm->info Propate pcm->info bit flags from the slave PCM in refine. This will fix the bug indicating bogus pause/resume capabilities. --- diff --git a/src/pcm/pcm_params.c b/src/pcm/pcm_params.c index f868699f..9225e8d8 100644 --- a/src/pcm/pcm_params.c +++ b/src/pcm/pcm_params.c @@ -2113,6 +2113,7 @@ int _snd_pcm_hw_params_refine(snd_pcm_hw_params_t *params, if (changed < 0) err = changed; } + params->info &= src->info; return err; }