This commit is contained in:
ouwenchen 2020-12-28 01:33:25 +01:00 committed by GitHub
commit 1d4f454ae7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -498,6 +498,7 @@ static snd_pcm_sframes_t snd_pcm_plugin_avail_update(snd_pcm_t *pcm)
* there is more data available.
*/
slave_size = snd_pcm_avail_update(slave);
slave_frames = slave_size;
result = snd_pcm_mmap_begin(slave, &slave_areas, &slave_offset, &slave_frames);
if (result < 0) {
err = result;