diff options
author | Jaroslav Kysela <perex@perex.cz> | 2002-04-16 19:24:58 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2002-04-16 19:24:58 +0000 |
commit | 6746dabeb17a4c43a87e49fcdbe9c3fc81397b1c (patch) | |
tree | e26a0dcdde3d5f90173c82829aaa7d282a29df9c /src/pcm/pcm_plugin.c | |
parent | 2c03ec15307b567fd2250fe2a7981a89d19b87a9 (diff) | |
download | alsa-lib-6746dabeb17a4c43a87e49fcdbe9c3fc81397b1c.tar.gz |
Fixed capture for plugins
Diffstat (limited to 'src/pcm/pcm_plugin.c')
-rw-r--r-- | src/pcm/pcm_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |