projects
/
rtaudio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "duplex test: 64 bit compatibility"
[rtaudio.git]
/
tests
/
playsaw.cpp
diff --git
a/tests/playsaw.cpp
b/tests/playsaw.cpp
index 2be179bb1145a5500c53acfb89a29850333b14ba..d1953b6ca164c0a14ffc3ef136b08d60f5072c26 100644
(file)
--- a/
tests/playsaw.cpp
+++ b/
tests/playsaw.cpp
@@
-174,6
+174,9
@@
int main( int argc, char *argv[] )
oParams.nChannels = channels;
oParams.firstChannel = offset;
+ if ( device == 0 )
+ oParams.deviceId = dac.getDefaultOutputDevice();
+
options.flags = RTAUDIO_HOG_DEVICE;
options.flags |= RTAUDIO_SCHEDULE_REALTIME;
#if !defined( USE_INTERLEAVED )