summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Yves Avenard <jyavenard@mythtv.org>2011-05-12 04:53:44 (GMT)
committer Jean-Yves Avenard <jyavenard@mythtv.org>2011-05-12 04:53:44 (GMT)
commit9357aaf826603f778d957b60f55b2d62fc0b4cda (patch)
treef64701e9c0be4234b84dddcde9466cd583dc7abf
parent7c90f8e80a6570cfa1ccead26079d82fc078bd3e (diff)
Fix occasional audio corruption
-rw-r--r--mythtv/libs/libmyth/audio/audiooutputalsa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmyth/audio/audiooutputalsa.cpp b/mythtv/libs/libmyth/audio/audiooutputalsa.cpp
index 790f403..0c04221 100644
--- a/mythtv/libs/libmyth/audio/audiooutputalsa.cpp
+++ b/mythtv/libs/libmyth/audio/audiooutputalsa.cpp
@@ -431,7 +431,7 @@ bool AudioOutputALSA::OpenDevice()
}
buffer_time = 500000; // buffer 0.5s worth of samples
- period_time = 16; // aim for an interrupt every (1/16th of buffer_time)
+ period_time = 4; // aim for an interrupt every (1/4th of buffer_time)
err = SetParameters(pcm_handle, format, channels, samplerate,
buffer_time, period_time);