mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-18 08:56:42 -05:00
Fixed pcm_multi
This commit is contained in:
parent
1551ce7419
commit
b71b46de4c
1 changed files with 2 additions and 2 deletions
|
|
@ -188,7 +188,7 @@ static ssize_t mmap_playback_transfer(snd_pcm_plugin_t *plugin,
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
err = snd_pcm_mmap_frame_data(stream, frames);
|
err = snd_pcm_frame_data(stream, frames);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
return err;
|
return err;
|
||||||
if (snd_pcm_mmap_state(stream) == SND_PCM_STATE_PREPARED &&
|
if (snd_pcm_mmap_state(stream) == SND_PCM_STATE_PREPARED &&
|
||||||
|
|
@ -216,7 +216,7 @@ static ssize_t mmap_capture_transfer(snd_pcm_plugin_t *plugin,
|
||||||
stream = plugin->plug->slave;
|
stream = plugin->plug->slave;
|
||||||
|
|
||||||
/* FIXME: not here the increment */
|
/* FIXME: not here the increment */
|
||||||
err = snd_pcm_mmap_frame_data(stream, frames);
|
err = snd_pcm_frame_data(stream, frames);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue