mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
alsa: Log some output if we disable tsched for BATCH devices
This commit is contained in:
parent
345de08f2b
commit
9833bb460c
1 changed files with 3 additions and 1 deletions
|
|
@ -246,8 +246,10 @@ int pa_alsa_set_hw_params(
|
||||||
_use_tsched = false;
|
_use_tsched = false;
|
||||||
|
|
||||||
/* The PCM pointer is only updated with period granularity */
|
/* The PCM pointer is only updated with period granularity */
|
||||||
if (snd_pcm_hw_params_is_batch(hwparams))
|
if (snd_pcm_hw_params_is_batch(hwparams)) {
|
||||||
|
pa_log_info("Disabling tsched mode since BATCH flag is set");
|
||||||
_use_tsched = false;
|
_use_tsched = false;
|
||||||
|
}
|
||||||
|
|
||||||
#if (SND_LIB_VERSION >= ((1<<16)|(0<<8)|24)) /* API additions in 1.0.24 */
|
#if (SND_LIB_VERSION >= ((1<<16)|(0<<8)|24)) /* API additions in 1.0.24 */
|
||||||
if (_use_tsched) {
|
if (_use_tsched) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue