aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/audio.cpp
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-04-14 00:23:20 +0200
committerGitHub <noreply@github.com>2022-04-13 19:23:20 -0300
commitf856fbd939ec1e631d22b8072fb97f943390905a (patch)
treebf982a3232df925b5c07568bde11a44582a95b70 /NorthstarDedicatedTest/audio.cpp
parent8d242da7981204ea61b4678741a7cfe73d337442 (diff)
downloadNorthstarLauncher-f856fbd939ec1e631d22b8072fb97f943390905a.tar.gz
NorthstarLauncher-f856fbd939ec1e631d22b8072fb97f943390905a.zip
Fix formatting to stop clang-format failing in CI (#143)
Diffstat (limited to 'NorthstarDedicatedTest/audio.cpp')
-rw-r--r--NorthstarDedicatedTest/audio.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/audio.cpp b/NorthstarDedicatedTest/audio.cpp
index 7a2ae711..f2c8ba65 100644
--- a/NorthstarDedicatedTest/audio.cpp
+++ b/NorthstarDedicatedTest/audio.cpp
@@ -214,7 +214,7 @@ EventOverrideData::EventOverrideData(const std::string& data, const fs::path& pa
// thread off the file read
// should we spawn one thread per read? or should there be a cap to the number of reads at once?
std::thread readThread(
- [pathString, fileSize, data]
+ [pathString, fileSize, data]
{
std::shared_lock lock(g_CustomAudioManager.m_loadingMutex);
std::basic_ifstream<uint8_t> wavStream(pathString, std::ios::binary);
@@ -318,7 +318,7 @@ void CustomAudioManager::ClearAudioOverrides()
// this is cancer but it works
Sleep(50);
}
-
+
// slightly (very) bad
// wait for all audio reads to complete so we don't kill preexisting audio buffers as we're writing to them
std::unique_lock lock(g_CustomAudioManager.m_loadingMutex);