]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: hw: do not reset tstamp_type in SND_PCM_APPEND mode
authorKevin Groeneveld <kgroeneveld@lenbrook.com>
Fri, 4 Apr 2025 19:59:59 +0000 (15:59 -0400)
committerJaroslav Kysela <perex@perex.cz>
Mon, 7 Apr 2025 16:49:52 +0000 (18:49 +0200)
commit7e01443ecc2c887e943d4e88070665a24f1d2218
tree97b7dc9c2b17d2925d30c2ac73674937626f16b9
parenta4e47461eca1decd61fbab42690a55358d77804a
pcm: hw: do not reset tstamp_type in SND_PCM_APPEND mode

When the first client of plugins such as dshare open the hw device they set
a default tstamp_type in snd_pcm_direct_initialize_slave based on
tstamp_type from the config file. But when subsequent clients open the same
plugin the snd_pcm_hw_open_fd function clobbers this default.

Closes: https://github.com/alsa-project/alsa-lib/pull/450
Signed-off-by: Kevin Groeneveld <kgroeneveld@lenbrook.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_hw.c