diff --git a/src/engine/dispatchContainer.cpp b/src/engine/dispatchContainer.cpp index b07adf9c3..90f286385 100644 --- a/src/engine/dispatchContainer.cpp +++ b/src/engine/dispatchContainer.cpp @@ -75,12 +75,17 @@ void DivDispatchContainer::fillBuf(size_t runtotal, size_t size) { void DivDispatchContainer::clear() { blip_clear(bb[0]); blip_clear(bb[1]); + temp[0]=0; + temp[1]=0; + prevSample[0]=0; + prevSample[1]=0; // run for one cycle to determine DC offset - dispatch->acquire(bbIn[0],bbIn[1],0,1); + // TODO: SAA1099 doesn't like that + /*dispatch->acquire(bbIn[0],bbIn[1],0,1); temp[0]=bbIn[0][0]; temp[1]=bbIn[1][0]; prevSample[0]=temp[0]; - prevSample[1]=temp[1]; + prevSample[1]=temp[1];*/ } void DivDispatchContainer::init(DivSystem sys, DivEngine* eng, int chanCount, double gotRate, bool pal) {