mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-03-29 07:57:59 -04:00
Fixed repeated prepare call
This commit is contained in:
parent
4ecd9eaa46
commit
a83b209df2
6 changed files with 14 additions and 5 deletions
|
|
@ -583,7 +583,7 @@ static int snd_pcm_plug_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t *params)
|
|||
return err;
|
||||
}
|
||||
slave = plug->slave;
|
||||
err = snd_pcm_hw_params(slave, params);
|
||||
err = _snd_pcm_hw_params(slave, params);
|
||||
if (err < 0) {
|
||||
snd_pcm_plug_clear(pcm);
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue