diff audioio/AudioPortAudioTarget.cpp @ 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 8aace2d9f1c2
children 0136555495ae 068235cf5bf7
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,