summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 02:04:50 +0200
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 02:04:50 +0200
commit2fbd57f91e68a10891087c9093ebf71ee4a0bc0d (patch)
tree7273d3748e4fd76fcc6eb6ce23af3325d9c8dcb9 /tests
parent89fa26771ee945ee233940fb09d8b41663249521 (diff)
parent5d8514d7eb3918a947ec97b45f4105630c64468d (diff)
Merge 4.0.11 into releases
Diffstat (limited to 'tests')
-rw-r--r--tests/duplex.cpp4
-rw-r--r--tests/playsaw.cpp2
-rw-r--r--tests/testall.cpp2
-rw-r--r--tests/teststops.cpp2
4 files changed, 6 insertions, 4 deletions
diff --git a/tests/duplex.cpp b/tests/duplex.cpp
index 938a7f8..9991dcf 100644
--- a/tests/duplex.cpp
+++ b/tests/duplex.cpp
@@ -19,19 +19,21 @@ typedef signed long MY_TYPE;
typedef char MY_TYPE;
#define FORMAT RTAUDIO_SINT8
+*/
typedef signed short MY_TYPE;
#define FORMAT RTAUDIO_SINT16
+/*
typedef signed long MY_TYPE;
#define FORMAT RTAUDIO_SINT32
typedef float MY_TYPE;
#define FORMAT RTAUDIO_FLOAT32
-*/
typedef double MY_TYPE;
#define FORMAT RTAUDIO_FLOAT64
+*/
void usage( void ) {
// Error function in case of incorrect command-line
diff --git a/tests/playsaw.cpp b/tests/playsaw.cpp
index 51f8ad9..2117b54 100644
--- a/tests/playsaw.cpp
+++ b/tests/playsaw.cpp
@@ -157,7 +157,7 @@ int main( int argc, char *argv[] )
dac.showWarnings( true );
// Set our stream parameters for output only.
- bufferFrames = 256;
+ bufferFrames = 512;
RtAudio::StreamParameters oParams;
oParams.deviceId = device;
oParams.nChannels = channels;
diff --git a/tests/testall.cpp b/tests/testall.cpp
index 695488d..f518a57 100644
--- a/tests/testall.cpp
+++ b/tests/testall.cpp
@@ -122,7 +122,7 @@ int main( int argc, char *argv[] )
dac.showWarnings( true );
// Set our stream parameters for output only.
- bufferFrames = 256;
+ bufferFrames = 512;
RtAudio::StreamParameters oParams, iParams;
oParams.deviceId = oDevice;
oParams.nChannels = channels;
diff --git a/tests/teststops.cpp b/tests/teststops.cpp
index 6122734..ab71dbd 100644
--- a/tests/teststops.cpp
+++ b/tests/teststops.cpp
@@ -111,7 +111,7 @@ int main( int argc, char *argv[] )
pausetime = PAUSETIME * 1000;
// Set our stream parameters for a duplex stream.
- bufferFrames = 256;
+ bufferFrames = 512;
RtAudio::StreamParameters oParams, iParams;
oParams.deviceId = oDevice;
oParams.nChannels = mydata.channels;