Skip to contentSkip to conversation

Clarify snd_pcm_hw_params_set_drain_silence documentation

DISCUSSION GitHub issues - opened 1 participant 1 message Jan 18, 2024 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-lib issue #378 was opened from z-s-e:

The API documentation states that drain silence is enabled by default. But since this is a hardware parameter, is it possible that some hardware does not support this? Or is this always available (and will cause alsa-lib internal software workarounds for hardware that doesn't have perfect drain)?

Also, the documentation mentions the sw_params silencing mechanism as usable for a manual emulation of this, but the documentation of the sw_params silence_size/silence_threshold imply they only affect the silencing behavior in case of underrun, not in case of draining.

I can create a patch for the documentation if you'd like, as soon as I get the needed info.

Issue URL : https://github.com/alsa-project/alsa-lib/issues/378
Repository URL: https://github.com/alsa-project/alsa-lib