I have no idea what's going on

This commit is contained in:
tildearrow 2025-03-03 17:18:52 -05:00
parent acdce2c795
commit 95b1085aed
5 changed files with 18 additions and 5 deletions

View file

@ -29,6 +29,9 @@ void DivDispatch::acquireDirect(blip_buffer_t** bb, size_t off, size_t len) {
void DivDispatch::fillStream(std::vector<DivDelayedWrite>& stream, int sRate, size_t len) {
}
void DivDispatch::postProcess(short* buf, int outIndex, size_t len, int sampleRate) {
}
void DivDispatch::tick(bool sysTick) {
}

View file

@ -380,6 +380,10 @@ void DivPlatformAmiga::acquireDirect(blip_buffer_t** bb, size_t off, size_t len)
}
}
void DivPlatformAmiga::postProcess(short* buf, int outIndex, size_t len, int sampleRate) {
//buf[0]=32767;
}
void DivPlatformAmiga::irq(int ch) {
// disable interrupt
rWrite(0x9a,128<<ch);

View file

@ -140,6 +140,7 @@ class DivPlatformAmiga: public DivDispatch {
public:
void acquire(short** buf, size_t len);
void acquireDirect(blip_buffer_t** bb, size_t off, size_t len);
void postProcess(short* buf, int outIndex, size_t len, int sampleRate);
int dispatch(DivCommand c);
void* getChanState(int chan);
DivDispatchOscBuffer* getOscBuffer(int chan);