[audio_core] Fix audio reverb effect acording to specs (#2976)

This fixes the audio reverb issue acording to specs. Known for affecting The Legend of Zelda: Echoes of Wisdom.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2976
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
Co-authored-by: MaranBr <maranbr@outlook.com>
Co-committed-by: MaranBr <maranbr@outlook.com>
This commit is contained in:
MaranBr 2025-11-08 03:50:51 +01:00 committed by crueter
parent 84cf3e8c84
commit 576c4e5f77
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6
2 changed files with 77 additions and 42 deletions

View file

@ -238,9 +238,9 @@ protected:
private:
/// Ring buffer of the samples waiting to be played or consumed
Common::RingBuffer<s16, 0x20000> samples_buffer;
Common::RingBuffer<s16, 0x10000> samples_buffer;
/// Audio buffers queued and waiting to play
Common::SPSCQueue<SinkBuffer, 0x20000> queue;
Common::SPSCQueue<SinkBuffer, 0x10000> queue;
/// The currently-playing audio buffer
SinkBuffer playing_buffer{};
/// The last played (or received) frame of audio, used when the callback underruns