mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Fix partial commit in drain
Fix the partial commit in draining with rate plugin.
This commit is contained in:
parent
3047f8fa5a
commit
3403d9e622
1 changed files with 1 additions and 1 deletions
|
|
@ -1046,7 +1046,7 @@ static int snd_pcm_rate_commit_area(snd_pcm_t *pcm, snd_pcm_rate_t *rate,
|
|||
}
|
||||
xfer = cont;
|
||||
|
||||
if (xfer == rate->gen.slave->period_size)
|
||||
if (xfer == slave_size)
|
||||
return 1;
|
||||
|
||||
/* commit second fragment */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue