don't handle a buffer of size 0
This commit is contained in:
parent
ba0d6903f6
commit
598e8ddf03
|
@ -1691,6 +1691,10 @@ void DivEngine::runMidiTime(int totalCycles) {
|
|||
}
|
||||
|
||||
void DivEngine::nextBuf(float** in, float** out, int inChans, int outChans, unsigned int size) {
|
||||
if (!size) {
|
||||
logW("nextBuf called with size 0!");
|
||||
return;
|
||||
}
|
||||
lastLoopPos=-1;
|
||||
|
||||
if (out!=NULL) {
|
||||
|
|
Loading…
Reference in New Issue