Browse Source

Increase the RingBuffer and SinkBuffer size a bit more

pull/2964/head
MaranBr 3 months ago
parent
commit
0577a53294
  1. 4
      src/audio_core/sink/sink_stream.h

4
src/audio_core/sink/sink_stream.h

@ -238,9 +238,9 @@ protected:
private:
/// 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
Common::SPSCQueue<SinkBuffer, 0x10000> queue;
Common::SPSCQueue<SinkBuffer, 0x20000> 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