mirror of https://github.com/mgba-emu/mgba.git
Initialize FIFO samples
This commit is contained in:
parent
3bf43133cb
commit
1dbecb2c64
|
@ -40,6 +40,8 @@ void GBAAudioReset(struct GBAAudio* audio) {
|
|||
audio->ch4 = (struct GBAAudioChannel4) { .envelope = { .nextStep = INT_MAX } };
|
||||
audio->chA.dmaSource = 0;
|
||||
audio->chB.dmaSource = 0;
|
||||
audio->chA.sample = 0;
|
||||
audio->chB.sample = 0;
|
||||
audio->eventDiff = 0;
|
||||
audio->nextSample = 0;
|
||||
audio->sampleRate = 0x8000;
|
||||
|
|
Loading…
Reference in New Issue