Ticket #8697: audio-buffer-time-v1.patch
File audio-buffer-time-v1.patch, 506 bytes (added by , 14 years ago) |
---|
-
libs/libmyth/audiooutputalsa.cpp
old new 412 412 } 413 413 414 414 period_time = 50000; // aim for an interrupt every 50ms 415 buffer_time = period_time << 1; // buffer 100ms worth of samples415 buffer_time = period_time * 4 << 1; // buffer 100ms worth of samples 416 416 417 417 err = SetParameters(pcm_handle, format, channels, samplerate, 418 418 buffer_time, period_time);