Amiga: acquireDirect, part 2

the filter is back!
This commit is contained in:
tildearrow 2025-03-05 04:49:22 -05:00
parent e116f2e523
commit e941dfb174
5 changed files with 85 additions and 44 deletions

View file

@ -173,12 +173,12 @@ void DivDispatchContainer::acquire(size_t offset, size_t count) {
}
}
void DivDispatchContainer::flush(size_t count) {
void DivDispatchContainer::flush(size_t offset, size_t count) {
int outs=dispatch->getOutputCount();
for (int i=0; i<outs; i++) {
if (bb[i]==NULL) continue;
blip_read_samples(bb[i],bbOut[i],count,0);
blip_read_samples(bb[i],bbOut[i]+offset,count,0);
}
}