VolatileDream / whisper-composer

Cross platform audio arrangement engine
0 stars 0 forks source link

Use Factory pattern to create AudioEngine #1

Closed VolatileDream closed 11 years ago

VolatileDream commented 11 years ago

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.