possibly fix crash when switching JACK backend out
This commit is contained in:
parent
6ca3c4ec4d
commit
1632b2864a
|
@ -68,8 +68,8 @@ bool TAAudioJACK::quit() {
|
|||
delete[] outBufs[i];
|
||||
}
|
||||
|
||||
delete[] iInBufs;
|
||||
delete[] iOutBufs;
|
||||
if (iInBufs!=NULL) delete[] iInBufs;
|
||||
if (iOutBufs!=NULL) delete[] iOutBufs;
|
||||
delete[] inBufs;
|
||||
delete[] outBufs;
|
||||
delete[] ai;
|
||||
|
|
|
@ -23,5 +23,7 @@ class TAAudioJACK: public TAAudio {
|
|||
TAAudioJACK():
|
||||
ac(NULL),
|
||||
ai(NULL),
|
||||
ao(NULL) {}
|
||||
ao(NULL),
|
||||
iInBufs(NULL),
|
||||
iOutBufs(NULL) {}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue