src/modules/alsa/alsa-util.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 9833bb460c9826e7d12630a23f02290b48b3ab5d
Author: Arun Raghavan <[email protected]>
Date:   Fri Dec 6 06:00:15 2013 -0800

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

diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c
index 4b24e47..73b1332 100644
--- a/src/modules/alsa/alsa-util.c
+++ b/src/modules/alsa/alsa-util.c
@@ -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) {

_______________________________________________
pulseaudio-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits

Reply via email to