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

summaryrefslogtreecommitdiff
path: root/source/frontend/StarVoice.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-12-31 18:55:37 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-12-31 18:55:37 +1100
commitc14a99a7c329ec4561a22bf78f31f46e0b91bfb4 (patch)
tree0d4872bbbd4394378fc821cd2bdd942b6891d180 /source/frontend/StarVoice.hpp
parentc0fd5c0a606fddda1666c65e4b48e18ef5567fc2 (diff)
guess I can't have atomic for an array in Clang. ok
also the indenting was mixed so I had to fix it which is why the diff here is so wacky
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 08d01d1..59daeaa 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<std::array<float, 2>> channelVolumes = std::array<float, 2>{1.0f, 1.0f};
+ Vec2F channelVolumes = Vec2F::filled(1.f);
unsigned int minimumPlaySamples = 4096;