[mythtv] [mythtv-commits] Ticket #5473: audio out, PulseAudio

cal cal at graggrag.com
Mon Sep 29 18:34:07 UTC 2008


MythTV wrote:
> #5473: audio out, PulseAudio
[ ... ]
>  When I'm pausing/unpausing, I see the following, regardless of whether or
>  not the audio was in the static or normal state, or whether it changed:
> 
>  2008-09-29 09:25:44.075 PulseAudio Error: stream buffer underflow

Hmmm, puzzling, ... is there any chance you could try it with the following change ...

{{{
--- mythtv.orig/libs/libmyth/audiooutputpulse.cpp
+++ mythtv/libs/libmyth/audiooutputpulse.cpp
@@ -460,7 +460,7 @@
         pa_cvolume_reset(&volume_control, audio_channels);
 
     // Tune buffer settings ...
-    buffer_settings.minreq = (float)sample_rate * 0.020f // 20msec
+    buffer_settings.minreq = (float)sample_rate * 0.064f // 64msec
                              * (float)(audio_bits / 8 * audio_channels);
     buffer_settings.maxlength = 19 * buffer_settings.minreq;
     buffer_settings.tlength = 17 * buffer_settings.minreq;
}}}

cheers, Cal


More information about the mythtv-dev mailing list