mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-03 22:21:09 +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[] outBufs[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
delete[] iInBufs;
|
if (iInBufs!=NULL) delete[] iInBufs;
|
||||||
delete[] iOutBufs;
|
if (iOutBufs!=NULL) delete[] iOutBufs;
|
||||||
delete[] inBufs;
|
delete[] inBufs;
|
||||||
delete[] outBufs;
|
delete[] outBufs;
|
||||||
delete[] ai;
|
delete[] ai;
|
||||||
|
|
|
@ -23,5 +23,7 @@ class TAAudioJACK: public TAAudio {
|
||||||
TAAudioJACK():
|
TAAudioJACK():
|
||||||
ac(NULL),
|
ac(NULL),
|
||||||
ai(NULL),
|
ai(NULL),
|
||||||
ao(NULL) {}
|
ao(NULL),
|
||||||
|
iInBufs(NULL),
|
||||||
|
iOutBufs(NULL) {}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue