diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2013-10-09 23:49:32 +0200 |
|---|---|---|
| committer | Stephen Sinclair <sinclair@music.mcgill.ca> | 2013-10-10 01:15:42 +0200 |
| commit | fdc3f15bec57b30fae67f65270392ba7a86680b8 (patch) | |
| tree | c40a558b21ec18df4a4fd2613ead8f54dd3c4156 /tests/call_inout.cpp | |
| parent | 2b55be781872498a3b4c6cde60be4c2f69ec7eb4 (diff) | |
Version 3.0.2
Diffstat (limited to 'tests/call_inout.cpp')
| -rw-r--r-- | tests/call_inout.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/call_inout.cpp b/tests/call_inout.cpp index e941e1e..f51ad6f 100644 --- a/tests/call_inout.cpp +++ b/tests/call_inout.cpp @@ -53,7 +53,7 @@ int inout(char *buffer, int buffer_size, void *) int main(int argc, char *argv[]) { int chans, fs, device = 0; - RtAudio *audio; + RtAudio *audio = 0; char input; // minimal command-line checking @@ -67,8 +67,8 @@ int main(int argc, char *argv[]) // Open the realtime output device int buffer_size = 512; try { - audio = new RtAudio(device, chans, device, chans, - FORMAT, fs, &buffer_size, 8); + audio = new RtAudio( device, chans, device, chans, + FORMAT, fs, &buffer_size, 8 ); } catch (RtError &error) { error.printMessage(); |
