Skip to content

Commit

Permalink
Fix occasional audio corruption
Browse files Browse the repository at this point in the history
Backport SHA:9357aaf826603f778d957b60f55b2d62fc0b4cda
  • Loading branch information
jyavenard committed May 12, 2011
1 parent 5032286 commit 8119784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmyth/audiooutputalsa.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 8119784

Please sign in to comment.