]> code.delx.au - pulseaudio/blobdiff - src/modules/alsa/alsa-util.c
alsa: Log some output if we disable tsched for BATCH devices
[pulseaudio] / src / modules / alsa / alsa-util.c
index 4b24e4726337767e391cc1e1cf7c5f537b73483c..73b133210229f4a7db6ca4cee479672c8256a020 100644 (file)
@@ -246,8 +246,10 @@ int pa_alsa_set_hw_params(
         _use_tsched = false;
 
     /* 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;
+    }
 
 #if (SND_LIB_VERSION >= ((1<<16)|(0<<8)|24)) /* API additions in 1.0.24 */
     if (_use_tsched) {