Skip to content

Commit

Permalink
completely remove proxy callback
Browse files Browse the repository at this point in the history
  • Loading branch information
sonoro1234 committed Jan 21, 2025
1 parent 2dca3ad commit 3fb5c63
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions rtaudio_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
struct rtaudio {
RtAudio *audio;

rtaudio_cb_t cb;
void *userdata;

rtaudio_error_t errtype;
char errmsg[MAX_ERROR_MESSAGE_LENGTH];
};
Expand Down Expand Up @@ -163,8 +160,7 @@ rtaudio_error_t rtaudio_open_stream(rtaudio_t audio,
}
opts = &stream_opts;
}
//audio->cb = cb;
//audio->userdata = userdata;

audio->audio->openStream(out, in, (RtAudioFormat)format, sample_rate,
buffer_frames, cb, (void *)userdata, opts); //, NULL);
return audio->errtype;
Expand Down

0 comments on commit 3fb5c63

Please sign in to comment.