]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: ioplug: Provide hw_avail helper function for plugins
authorTimo Wischer <twischer@de.adit-jv.com>
Tue, 13 Mar 2018 08:34:42 +0000 (09:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Mar 2018 21:12:02 +0000 (22:12 +0100)
commitdf2452cc6a35baacb6126869f74c6f7ad913736d
tree60e583662feb38c24c32f577b8cedaaecf80cda9
parent9c2fb31d0ec13692eeefe1013b1f031da0e71395
pcm: ioplug: Provide hw_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
src/pcm/pcm_local.h