mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-31 20:11:29 +00:00
possibly fix crash when switching JACK backend out
This commit is contained in:
parent
6ca3c4ec4d
commit
1632b2864a
2 changed files with 5 additions and 3 deletions
|
@ -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