aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-25 19:58:34 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-25 19:58:34 +0000
commit96ad83476a7226bdc92f8ebfca3030d49e5123a1 (patch)
tree4d975a0327441b6d15ec3265df7ca1844840a596
parentd142fd8700057ad284e2620076d6716387f3cd63 (diff)
downloadusdx-96ad83476a7226bdc92f8ebfca3030d49e5123a1.tar.gz
usdx-96ad83476a7226bdc92f8ebfca3030d49e5123a1.tar.xz
usdx-96ad83476a7226bdc92f8ebfca3030d49e5123a1.zip
a value of 0 for suggestedLatency is invalid
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2310 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--test/TestPortAudioDevice.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TestPortAudioDevice.pas b/test/TestPortAudioDevice.pas
index 1308858f..1b3c9e7e 100644
--- a/test/TestPortAudioDevice.pas
+++ b/test/TestPortAudioDevice.pas
@@ -413,7 +413,7 @@ begin
inputParameters^.device := deviceIndex;
inputParameters^.channelCount := deviceInfo^.maxInputChannels;
inputParameters^.sampleFormat := paInt16;
- inputParameters^.suggestedLatency := 0;
+ inputParameters^.suggestedLatency := deviceInfo.defaultLowInputLatency;
inputParameters^.hostApiSpecificStreamInfo := nil;
outputParameters := nil;
end
@@ -423,7 +423,7 @@ begin
outputParameters^.device := deviceIndex;
outputParameters^.channelCount := deviceInfo^.maxOutputChannels;
outputParameters^.sampleFormat := paInt16;
- outputParameters^.suggestedLatency := 0;
+ outputParameters^.suggestedLatency := deviceInfo.defaultLowOutputLatency;
outputParameters^.hostApiSpecificStreamInfo := nil;
end;