From 04238a7fcdf6a717e27f696e757c03c8a4918c3e Mon Sep 17 00:00:00 2001 From: wtfloltk <153698146+wtfloltk@users.noreply.github.com> Date: Tue, 12 Dec 2023 22:48:21 -0500 Subject: [PATCH] Update music_player.cpp --- sys-tune/source/impl/music_player.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sys-tune/source/impl/music_player.cpp b/sys-tune/source/impl/music_player.cpp index f5ffd53..cdb838c 100644 --- a/sys-tune/source/impl/music_player.cpp +++ b/sys-tune/source/impl/music_player.cpp @@ -40,9 +40,9 @@ namespace tune::impl { bool g_use_title_volume = true; AudioDriver g_drv; - constexpr const int MinSampleCount = 256; - constexpr const int MaxChannelCount = 8; - constexpr const int BufferCount = 8; + constexpr const int MinSampleCount = 1024; + constexpr const int MaxChannelCount = 64; + constexpr const int BufferCount = 64; constexpr const int AudioSampleSize = MinSampleCount * MaxChannelCount * sizeof(s32); constexpr const int AudioPoolSize = AudioSampleSize * BufferCount; alignas(AUDREN_MEMPOOL_ALIGNMENT) u8 AudioMemoryPool[AudioPoolSize]; @@ -57,11 +57,11 @@ namespace tune::impl { /* Default audio config. */ const AudioRendererConfig audren_cfg = { .output_rate = AudioRendererOutputRate_48kHz, - .num_voices = 8, + .num_voices = 32, .num_effects = 0, .num_sinks = 1, - .num_mix_objs = 1, - .num_mix_buffers = 8, + .num_mix_objs = 32, + .num_mix_buffers = 64, }; smInitialize();