mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Fixed capture for plugins
This commit is contained in:
parent
2c03ec1530
commit
6746dabeb1
1 changed files with 1 additions and 1 deletions
|
|
@ -442,7 +442,7 @@ snd_pcm_sframes_t snd_pcm_plugin_mmap_commit(snd_pcm_t *pcm,
|
||||||
snd_atomic_write_begin(&plugin->watom);
|
snd_atomic_write_begin(&plugin->watom);
|
||||||
snd_pcm_mmap_appl_forward(pcm, size);
|
snd_pcm_mmap_appl_forward(pcm, size);
|
||||||
snd_atomic_write_end(&plugin->watom);
|
snd_atomic_write_end(&plugin->watom);
|
||||||
return 0;
|
return size;
|
||||||
}
|
}
|
||||||
slave_size = snd_pcm_avail_update(slave);
|
slave_size = snd_pcm_avail_update(slave);
|
||||||
if (slave_size < 0)
|
if (slave_size < 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue