Mercurial > hg > svapp
changeset 245:a9f1850b873d
Reduce PortAudio suggested latency. No idea whether this will really help
anything, but it probably won't hurt
author | Chris Cannam |
---|---|
date | Wed, 28 Sep 2011 13:28:54 +0100 |
parents | 5e1711be654d |
children | eaef94d9f9bf |
files | audioio/AudioPortAudioTarget.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/audioio/AudioPortAudioTarget.cpp Wed Aug 10 16:00:55 2011 +0100 +++ b/audioio/AudioPortAudioTarget.cpp Wed Sep 28 13:28:54 2011 +0100 @@ -59,7 +59,7 @@ op.device = Pa_GetDefaultOutputDevice(); op.channelCount = 2; op.sampleFormat = paFloat32; - op.suggestedLatency = 1.0; + op.suggestedLatency = 0.2; op.hostApiSpecificStreamInfo = 0; err = Pa_OpenStream(&m_stream, 0, &op, m_sampleRate, paFramesPerBufferUnspecified,