Ticket #8697: audio-buffer-time-v1.patch

File audio-buffer-time-v1.patch, 506 bytes (added by anonymous, 14 years ago)
  • libs/libmyth/audiooutputalsa.cpp

    old new  
    412412    }
    413413
    414414    period_time = 50000;  // aim for an interrupt every 50ms
    415     buffer_time = period_time << 1; // buffer 100ms worth of samples
     415    buffer_time = period_time * 4 << 1; // buffer 100ms worth of samples
    416416
    417417    err = SetParameters(pcm_handle, format, channels, samplerate,
    418418                        buffer_time, period_time);