]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Propagate pcm->info
authorTakashi Iwai <tiwai@suse.de>
Tue, 17 May 2005 09:26:34 +0000 (09:26 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 May 2005 09:26:34 +0000 (09:26 +0000)
Propate pcm->info bit flags from the slave PCM in refine.
This will fix the bug indicating bogus pause/resume capabilities.

src/pcm/pcm_params.c

index f868699ff16a03d136893e1e4e724c6ff670e5ae..9225e8d84fc5a9350aee06e2a932249b438b5c92 100644 (file)
@@ -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;
 }