diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2012-06-13 20:27:59 +0000 |
|---|---|---|
| committer | Stephen Sinclair <sinclair@music.mcgill.ca> | 2013-10-11 01:38:30 +0200 |
| commit | 5d8514d7eb3918a947ec97b45f4105630c64468d (patch) | |
| tree | 6f77b4faa95b24b978de75e7a78ecbb223be0707 /tests | |
| parent | 758cf4789a38b161024f5371fd041b5489cf9921 (diff) | |
Mutex removal from several APIs, addition of PulseAudio support, documentation updates for 4.0.11 release.
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;
|
