move audio init/quit to separate functions

This commit is contained in:
tildearrow 2022-01-17 01:20:02 -05:00
parent 3026bf8ba9
commit d6d6bf80ec
4 changed files with 59 additions and 34 deletions

View file

@ -28,4 +28,7 @@ bool TAAudio::setRun(bool run) {
bool TAAudio::init(TAAudioDesc& request, TAAudioDesc& response) {
return false;
}
TAAudio::~TAAudio() {
}

View file

@ -76,5 +76,7 @@ class TAAudio {
audioProcCallback(NULL),
sampleRateChanged(NULL),
bufferSizeChanged(NULL) {}
virtual ~TAAudio();
};
#endif