OSDN Git Service

pcm: ioplug: Provide avail helper function for plugins
authorTimo Wischer <twischer@de.adit-jv.com>
Tue, 3 Jul 2018 13:59:21 +0000 (15:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Jul 2018 14:36:34 +0000 (16:36 +0200)
commit2972f2f9662aaf050addf6254363164ef8bf676e
treee4c372984784731be12bfaee03b1f2142a8d13b2
parent9bb985c382bab8c3bf83c0d23f50195288d3cf9f
pcm: ioplug: Provide avail helper function for plugins

This function can be called without calling snd_pcm_avail_update().

The call to snd_pcm_avail_update() can take some time.
Therefore some developers would not like to call it from a real-time
context (e.g. from JACK client context).

Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/pcm_ioplug.h
src/pcm/pcm_ioplug.c