From c14a99a7c329ec4561a22bf78f31f46e0b91bfb4 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 31 Dec 2024 18:55:37 +1100 Subject: 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 --- source/frontend/StarVoice.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/frontend/StarVoice.hpp') 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 playing = 0; atomic decibelLevel = -96.0f; atomic volume = 1.0f; - atomic> channelVolumes = std::array{1.0f, 1.0f}; + Vec2F channelVolumes = Vec2F::filled(1.f); unsigned int minimumPlaySamples = 4096; -- cgit v1.2.3