Permalink
Browse files

Fix occasional audio corruption

Backport SHA:9357aaf826603f778d957b60f55b2d62fc0b4cda
  • Loading branch information...
jyavenard committed May 12, 2011
1 parent 5032286 commit 8119784308f9d56875a050a2d4b6e9d600d3fce3
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmyth/audiooutputalsa.cpp
@@ -426,7 +426,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);

0 comments on commit 8119784

Please sign in to comment.