[audio_core] Increase RingBuffer and SinkBuffer size a bit more (#2964)
This helps weaker CPUs maintain consistent audio playback while keeping latency low. Complement to #2944. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2964 Reviewed-by: Maufeat <sahyno1996@gmail.com> Co-authored-by: MaranBr <maranbr@outlook.com> Co-committed-by: MaranBr <maranbr@outlook.com>
This commit is contained in:
parent
569dbfe8c0
commit
0510f0bdbc
|
|
@ -238,9 +238,9 @@ protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// Ring buffer of the samples waiting to be played or consumed
|
/// Ring buffer of the samples waiting to be played or consumed
|
||||||
Common::RingBuffer<s16, 0x10000> samples_buffer;
|
Common::RingBuffer<s16, 0x20000> samples_buffer;
|
||||||
/// Audio buffers queued and waiting to play
|
/// Audio buffers queued and waiting to play
|
||||||
Common::SPSCQueue<SinkBuffer, 0x10000> queue;
|
Common::SPSCQueue<SinkBuffer, 0x20000> queue;
|
||||||
/// The currently-playing audio buffer
|
/// The currently-playing audio buffer
|
||||||
SinkBuffer playing_buffer{};
|
SinkBuffer playing_buffer{};
|
||||||
/// The last played (or received) frame of audio, used when the callback underruns
|
/// The last played (or received) frame of audio, used when the callback underruns
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue