diff options
author | Northstar <northstar@northstar.tf> | 2022-02-03 22:09:08 -0300 |
---|---|---|
committer | Barichello <artur@barichello.me> | 2022-02-03 22:09:08 -0300 |
commit | 75bf194b2fca06de805a7bc025c6dd8379250fa5 (patch) | |
tree | c9327ac7921ae80bb2d91381bb7db11b47ca2403 /NorthstarDedicatedTest/audio.h | |
parent | e9f93ba2e8b9df280aed20131a1606d731d2dbbe (diff) | |
download | NorthstarLauncher-75bf194b2fca06de805a7bc025c6dd8379250fa5.tar.gz NorthstarLauncher-75bf194b2fca06de805a7bc025c6dd8379250fa5.zip |
Format project
Diffstat (limited to 'NorthstarDedicatedTest/audio.h')
-rw-r--r-- | NorthstarDedicatedTest/audio.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/NorthstarDedicatedTest/audio.h b/NorthstarDedicatedTest/audio.h index d53f5317..3220d804 100644 --- a/NorthstarDedicatedTest/audio.h +++ b/NorthstarDedicatedTest/audio.h @@ -15,17 +15,18 @@ enum class AudioSelectionStrategy class EventOverrideData { -public: + public: EventOverrideData(const std::string&, const fs::path&); EventOverrideData(); -public: + + public: bool LoadedSuccessfully = false; std::vector<std::string> EventIds = {}; std::vector<std::pair<std::string, std::regex>> EventIdsRegex = {}; std::vector<std::pair<size_t, std::unique_ptr<uint8_t[]>>> Samples = {}; - + AudioSelectionStrategy Strategy = AudioSelectionStrategy::SEQUENTIAL; size_t CurrentIndex = 0; @@ -34,7 +35,7 @@ public: class CustomAudioManager { -public: + public: bool TryLoadAudioOverride(const fs::path&); void ClearAudioOverrides(); |