Browse Source

Change Buffer SPSCQueue to 40000

Attempt to fix Linux AoC audio choppiness 
Credit: MaranBR
pull/2936/head
John 4 months ago
parent
commit
016f291d1b
  1. 2
      src/audio_core/sink/sink_stream.h

2
src/audio_core/sink/sink_stream.h

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

Loading…
Cancel
Save