mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-03-27 07:58:02 -04:00
Merge c43c7ff5ed into 36aff79747
This commit is contained in:
commit
1d4f454ae7
1 changed files with 1 additions and 0 deletions
|
|
@ -498,6 +498,7 @@ static snd_pcm_sframes_t snd_pcm_plugin_avail_update(snd_pcm_t *pcm)
|
||||||
* there is more data available.
|
* there is more data available.
|
||||||
*/
|
*/
|
||||||
slave_size = snd_pcm_avail_update(slave);
|
slave_size = snd_pcm_avail_update(slave);
|
||||||
|
slave_frames = slave_size;
|
||||||
result = snd_pcm_mmap_begin(slave, &slave_areas, &slave_offset, &slave_frames);
|
result = snd_pcm_mmap_begin(slave, &slave_areas, &slave_offset, &slave_frames);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
err = result;
|
err = result;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue