]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: hw: introduce SNDRV_PCM_HW_PARAMS_DRAIN_SILENCE
authorJaroslav Kysela <perex@perex.cz>
Tue, 2 May 2023 08:34:41 +0000 (10:34 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 3 May 2023 13:58:56 +0000 (15:58 +0200)
commit264d6c43ee382bf4d6b1cf35c3920a8793c575e2
treec09afcb8c385a65524a3864f2bd5c1f967914c78
parent90e25887d24661a0bdc169b7b14525a97a4645c1
pcm: hw: introduce SNDRV_PCM_HW_PARAMS_DRAIN_SILENCE

The application may not require to touch the playback
sample stream for the drain operation at all. In this case,
the application is responsible to setup a silencing mechanism
for the playback or another graceful stop (like using the
rewind operation).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/pcm.h
include/sound/uapi/asound.h
src/pcm/pcm.c
src/pcm/pcm_hw.c
src/pcm/pcm_local.h