mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
Use internal snd_pcm_forward() version...
This commit is contained in:
parent
7f888e23f5
commit
7ecb338398
6 changed files with 7 additions and 7 deletions
|
|
@ -324,7 +324,7 @@ snd_pcm_sframes_t snd_pcm_plugin_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frame
|
|||
else
|
||||
sframes = frames;
|
||||
snd_atomic_write_begin(&plugin->watom);
|
||||
sframes = snd_pcm_forward(plugin->slave, (snd_pcm_uframes_t) sframes);
|
||||
sframes = INTERNAL(snd_pcm_forward)(plugin->slave, (snd_pcm_uframes_t) sframes);
|
||||
if ((snd_pcm_sframes_t) sframes < 0) {
|
||||
snd_atomic_write_end(&plugin->watom);
|
||||
return sframes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue