parent
4af0345b03
commit
f02e38d560
|
@ -1577,6 +1577,9 @@ bool DivEngine::nextTick(bool noAccum, bool inhibitLowLat) {
|
||||||
cycles++;
|
cycles++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// don't let user play anything during export
|
||||||
|
if (exporting) pendingNotes.clear();
|
||||||
|
|
||||||
if (!pendingNotes.empty()) {
|
if (!pendingNotes.empty()) {
|
||||||
bool isOn[DIV_MAX_CHANS];
|
bool isOn[DIV_MAX_CHANS];
|
||||||
memset(isOn,0,DIV_MAX_CHANS*sizeof(bool));
|
memset(isOn,0,DIV_MAX_CHANS*sizeof(bool));
|
||||||
|
@ -2299,7 +2302,7 @@ void DivEngine::nextBuf(float** in, float** out, int inChans, int outChans, unsi
|
||||||
}
|
}
|
||||||
|
|
||||||
// process sample/wave preview
|
// process sample/wave preview
|
||||||
if ((sPreview.sample>=0 && sPreview.sample<(int)song.sample.size()) || (sPreview.wave>=0 && sPreview.wave<(int)song.wave.size())) {
|
if (((sPreview.sample>=0 && sPreview.sample<(int)song.sample.size()) || (sPreview.wave>=0 && sPreview.wave<(int)song.wave.size())) && !exporting) {
|
||||||
unsigned int samp_bbOff=0;
|
unsigned int samp_bbOff=0;
|
||||||
unsigned int prevAvail=blip_samples_avail(samp_bb);
|
unsigned int prevAvail=blip_samples_avail(samp_bb);
|
||||||
if (prevAvail>size) prevAvail=size;
|
if (prevAvail>size) prevAvail=size;
|
||||||
|
|
Loading…
Reference in a new issue