diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2009-01-02 15:59:43 +0000 |
|---|---|---|
| committer | Stephen Sinclair <sinclair@music.mcgill.ca> | 2013-10-11 01:38:23 +0200 |
| commit | 287e68ea212610c225613876da4e643d43fc2aba (patch) | |
| tree | 5660f15c5fd5ac774a66b6a2cf9be8e755cb8b12 /tests/playsaw.cpp | |
| parent | b96814b6bc97b32a590521ae8f401c40dac4cc7c (diff) | |
Updates to OS-X for multi-stream support (GS).
Diffstat (limited to 'tests/playsaw.cpp')
| -rw-r--r-- | tests/playsaw.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/playsaw.cpp b/tests/playsaw.cpp index c39bcb4..d477297 100644 --- a/tests/playsaw.cpp +++ b/tests/playsaw.cpp @@ -19,21 +19,21 @@ typedef signed long MY_TYPE; typedef char MY_TYPE; #define FORMAT RTAUDIO_SINT8 #define SCALE 127.0 +*/ typedef signed short MY_TYPE; #define FORMAT RTAUDIO_SINT16 #define SCALE 32767.0 +/* typedef signed long MY_TYPE; #define FORMAT RTAUDIO_SINT32 #define SCALE 2147483647.0 -*/ typedef float MY_TYPE; #define FORMAT RTAUDIO_FLOAT32 #define SCALE 1.0 -/* typedef double MY_TYPE; #define FORMAT RTAUDIO_FLOAT64 #define SCALE 1.0 @@ -155,12 +155,12 @@ int main( int argc, char *argv[] ) } char input; + //std::cout << "Stream latency = " << dac.getStreamLatency() << "\n" << std::endl; std::cout << "\nPlaying ... press <enter> to quit (buffer size = " << bufferFrames << ").\n"; std::cin.get( input ); try { // Stop the stream - std::cout << "Stream latency = " << dac.getStreamLatency() << "\n" << std::endl; dac.stopStream(); } catch ( RtError& e ) { |
