Better audio playback code

This commit is contained in:
wheremyfoodat 2024-11-22 02:33:57 +02:00
parent 1baf8a13ed
commit 83aafa31f0
3 changed files with 32 additions and 12 deletions

View file

@ -24,7 +24,8 @@ namespace Audio {
static constexpr u64 lleSlice = 16384;
class DSPCore {
using Samples = Common::RingBuffer<s16, 1024>;
// 0x2000 stereo (= 2 channel) samples
using Samples = Common::RingBuffer<s16, 0x2000 * 2>;
protected:
Memory& mem;