make patchbay effective on samplepreview/metronome
This commit is contained in:
parent
9d327cacd8
commit
01f6e8f963
3 changed files with 148 additions and 137 deletions
|
|
@ -4435,6 +4435,9 @@ bool DivEngine::init() {
|
|||
|
||||
samp_bbIn=new short[32768];
|
||||
samp_bbInLen=32768;
|
||||
|
||||
metroBuf=new float[8192];
|
||||
metroBufLen=8192;
|
||||
|
||||
blip_set_rates(samp_bb,44100,got.rate);
|
||||
|
||||
|
|
@ -4480,6 +4483,11 @@ bool DivEngine::quit() {
|
|||
for (int i=0; i<DIV_MAX_OUTPUTS; i++) {
|
||||
if (oscBuf[i]!=NULL) delete[] oscBuf[i];
|
||||
}
|
||||
if (metroBuf!=NULL) {
|
||||
delete[] metroBuf;
|
||||
metroBuf=NULL;
|
||||
metroBufLen=0;
|
||||
}
|
||||
if (yrw801ROM!=NULL) delete[] yrw801ROM;
|
||||
if (tg100ROM!=NULL) delete[] tg100ROM;
|
||||
if (mu5ROM!=NULL) delete[] mu5ROM;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue