Skip to content

Commit

Permalink
Update music_player.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfloltk authored Dec 13, 2023
1 parent 455decc commit 04238a7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sys-tune/source/impl/music_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand All @@ -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();
Expand Down

0 comments on commit 04238a7

Please sign in to comment.