Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarVoice.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-12-31 15:26:01 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-12-31 15:26:01 +1100
commit4903d39eed1af80021e95424731038080ed1c9a3 (patch)
tree3fbed21674ad9ebe3c2adcfccea26cc1797574fa /source/frontend/StarVoice.hpp
parent9e3341f2f25861b1a0c5dc62a97163ed4ab59254 (diff)
clang hates that I guess
Diffstat (limited to 'source/frontend/StarVoice.hpp')
-rw-r--r--source/frontend/StarVoice.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarVoice.hpp b/source/frontend/StarVoice.hpp
index c914d36..08d01d1 100644
--- a/source/frontend/StarVoice.hpp
+++ b/source/frontend/StarVoice.hpp
@@ -89,7 +89,7 @@ public:
atomic<bool> playing = 0;
atomic<float> decibelLevel = -96.0f;
atomic<float> volume = 1.0f;
- atomic<Array<float, 2>> channelVolumes = Array<float, 2>::filled(1);
+ atomic<std::array<float, 2>> channelVolumes = std::array<float, 2>{1.0f, 1.0f};
unsigned int minimumPlaySamples = 4096;