reference player work
memory usage cap, garbage collection and sinc interpolation also ability to set playback position to a negative value
This commit is contained in:
parent
f77aafb44d
commit
7a7a871198
7 changed files with 254 additions and 56 deletions
|
|
@ -3248,6 +3248,10 @@ void DivEngine::nextBuf(float** in, float** out, int inChans, int outChans, unsi
|
|||
}
|
||||
if (curFilePlayer!=NULL) {
|
||||
curFilePlayer->mix(filePlayerBuf,outChans,size);
|
||||
} else {
|
||||
for (int i=0; i<DIV_MAX_OUTPUTS; i++) {
|
||||
memset(filePlayerBuf[i],0,size*sizeof(float));
|
||||
}
|
||||
}
|
||||
|
||||
// process metronome
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue