diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/duplex.cpp | 4 | ||||
| -rw-r--r-- | tests/playsaw.cpp | 2 | ||||
| -rw-r--r-- | tests/testall.cpp | 2 | ||||
| -rw-r--r-- | tests/teststops.cpp | 2 |
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;
|
