From: Jaroslav Kysela Date: Tue, 16 Apr 2002 19:24:58 +0000 (+0000) Subject: Fixed capture for plugins X-Git-Tag: v1.0.3~446 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=6746dabeb17a4c43a87e49fcdbe9c3fc81397b1c;p=alsa-lib.git Fixed capture for plugins --- diff --git a/src/pcm/pcm_plugin.c b/src/pcm/pcm_plugin.c index 87fa4dec..bc52233e 100644 --- a/src/pcm/pcm_plugin.c +++ b/src/pcm/pcm_plugin.c @@ -442,7 +442,7 @@ snd_pcm_sframes_t snd_pcm_plugin_mmap_commit(snd_pcm_t *pcm, snd_atomic_write_begin(&plugin->watom); snd_pcm_mmap_appl_forward(pcm, size); snd_atomic_write_end(&plugin->watom); - return 0; + return size; } slave_size = snd_pcm_avail_update(slave); if (slave_size < 0)