|
From: Tapio V. <aa...@us...> - 2010-08-21 14:02:21
|
Module: performous
Branch: joinmenu
Commit: c47a01c387e2b0e3c1dbd972a7219a3034de6a22
Author: Tapio Vierros <tap...@gm...>
Date: Tue Aug 17 01:10:17 2010 +0300
Use bigger default suggestedLatency for Windows compatibility.
---
game/libda/portaudio.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/game/libda/portaudio.hpp b/game/libda/portaudio.hpp
index fb2a575..4211545 100644
--- a/game/libda/portaudio.hpp
+++ b/game/libda/portaudio.hpp
@@ -44,7 +44,7 @@ namespace portaudio {
PaStreamParameters params;
Params(PaStreamParameters const& init = PaStreamParameters()): params(init) {
// Some useful defaults so that things just work
- channelCount(2).sampleFormat(paFloat32).suggestedLatency(0.02);
+ channelCount(2).sampleFormat(paFloat32).suggestedLatency(0.05);
}
Params& channelCount(int val) { params.channelCount = val; return *this; }
Params& device(PaDeviceIndex val) { params.device = val; return *this; }
|