2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 01:07:43 +00:00

Fix TSan-reported race conditions

This commit is contained in:
Jack Andersen
2018-06-01 14:03:31 -10:00
parent 4062b2dfb7
commit 56a5cfd115
10 changed files with 146 additions and 127 deletions

View File

@@ -20,7 +20,7 @@ class CStreamAudioManager
static void StopAllStreams();
public:
static void Start(bool oneshot, std::string_view fileName, u8 volume,
static void Start(bool oneshot, std::string_view fileName, float volume,
bool music, float fadeIn, float fadeOut);
static void Stop(bool oneshot, std::string_view fileName);
static void FadeBackIn(bool oneshot, float fadeTime);