thestk/rtaudio

Remove unnecessary null pointer checks

elfring opened this issue · 1 comments

ASIOInit is a function in the ASIO API ... I'm not changing that. It is true that as currently used, the check in RtAudio::openRtApi() is not necessary. However, the code could be changed in the future such that openRtApi() is called from another function (not just the constructor) and there might be an instance of rtapi allocated. So, I don't see the harm in leaving it as is.