summaryrefslogtreecommitdiff
path: root/rtaudio_c.cpp
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2019-07-30 12:26:44 -0400
committerGary Scavone <gary@music.mcgill.ca>2019-07-30 12:26:44 -0400
commit6c7651fd65e2d6d423836cee77a48d1b238b2595 (patch)
tree22f480750f83e3c8b4155bd8557438c4f34da142 /rtaudio_c.cpp
parenta09f92013c020e23bad9fecd2cb7ad8b9dbb4fd6 (diff)
Added new setErrorCallback() function and removed errorCallback argument in openStream(). Also added RtAudioError::Type return value to openStream(), startStream(), stopStream() and abortStream() functions, but only implemented in RtApiCore.
Diffstat (limited to 'rtaudio_c.cpp')
-rw-r--r--rtaudio_c.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/rtaudio_c.cpp b/rtaudio_c.cpp
index ad91bab..bcb6930 100644
--- a/rtaudio_c.cpp
+++ b/rtaudio_c.cpp
@@ -161,8 +161,7 @@ int rtaudio_open_stream(rtaudio_t audio,
audio->cb = cb;
audio->userdata = userdata;
audio->audio->openStream(out, in, (RtAudioFormat)format, sample_rate,
- buffer_frames, proxy_cb_func, (void *)audio, opts,
- NULL);
+ buffer_frames, proxy_cb_func, (void *)audio, opts); //, NULL);
return 0;
} catch (RtAudioError &err) {
audio->has_error = 1;