Closed elfring closed 1 year ago
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.
An extra null pointer check is not needed in functions like the following.