[pulseaudio-commits] src/modules

Arun Raghavan arun at kemper.freedesktop.org
Fri Dec 6 06:07:51 PST 2013


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

New commits:
commit 9833bb460c9826e7d12630a23f02290b48b3ab5d
Author: Arun Raghavan <arun.raghavan at collabora.co.uk>
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) {



More information about the pulseaudio-commits mailing list