]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: hw: introduce SNDRV_PCM_INFO_PERFECT_DRAIN
authorJaroslav Kysela <perex@perex.cz>
Tue, 25 Apr 2023 12:36:19 +0000 (14:36 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 3 May 2023 12:00:57 +0000 (14:00 +0200)
commit90e25887d24661a0bdc169b7b14525a97a4645c1
tree9d9263756ad221698a4a911cbce1e3f61f350d29
parentdd9cb31a90594e19f7a3ad53dc1a6344ddf78f7e
pcm: hw: introduce SNDRV_PCM_INFO_PERFECT_DRAIN

Handle the driver informing us that it is not necessary to set up
silencing upon playback draining. This will be the case for drivers
which are guaranteed to not read any samples beyond the application
pointer.

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