alsa: Log some output if we disable tsched for BATCH devices

This commit is contained in:
Arun Raghavan 2013-12-06 06:00:15 -08:00
parent 345de08f2b
commit 9833bb460c

View file

@ -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) {