mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-03-17 05:33:43 -04:00
Improved plugin code (simpler, faster and multithread ready)
This commit is contained in:
parent
afde2cfab2
commit
3830b168ef
13 changed files with 407 additions and 564 deletions
|
|
@ -408,7 +408,7 @@ static snd_pcm_sframes_t snd_pcm_multi_rewind(snd_pcm_t *pcm, snd_pcm_uframes_t
|
|||
snd_pcm_t *slave_i = multi->slaves[i].pcm;
|
||||
snd_pcm_uframes_t f = pos[i] - frames;
|
||||
if (f > 0)
|
||||
snd_pcm_mmap_appl_forward(slave_i, f);
|
||||
snd_pcm_mmap_forward(slave_i, f);
|
||||
}
|
||||
return frames;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue