Currently, there is no way to know that an AudioEngine will work after it is created. This is because of the setup required for PortAudio, that will tell us errors have occurred, but it is difficult to handle them.
We'll switch to using a factory pattern to create the AudioEngine, and pass it the initialization parameters as well as the PortAudio stream.
Currently, there is no way to know that an AudioEngine will work after it is created. This is because of the setup required for PortAudio, that will tell us errors have occurred, but it is difficult to handle them.
We'll switch to using a factory pattern to create the AudioEngine, and pass it the initialization parameters as well as the PortAudio stream.