]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: dshare: Fix endless playback of buffer
authorAnant Agrawal <Anant_Agrawal@mentor.com>
Fri, 25 Nov 2016 11:13:34 +0000 (16:43 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Nov 2016 19:17:03 +0000 (20:17 +0100)
commit876563c824bdecbf771a0e7bda472b0a1c19d900
treede8b2cc9bbaf8aa9e39e28b9c71d9917b9ee9b83
parent2dd78251ff0c4009b478574cca7aef2eb05c2279
pcm: dshare: Fix endless playback of buffer

On snd_pcm_drain() the slave PCM driven via plugin DSHARE is not filled with
silence. Result is endless playback of buffer content until pcm is closed.
In ALSA pcm dshare plugin, called do_silence method to fix the issue.

Signed-off-by: Anant Agrawal <Anant_Agrawal@mentor.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_dshare.c