diff options
author | HappyDOGE <28511119+HappyDOGE@users.noreply.github.com> | 2022-01-04 16:56:03 +0300 |
---|---|---|
committer | HappyDOGE <28511119+HappyDOGE@users.noreply.github.com> | 2022-01-04 16:56:03 +0300 |
commit | c21124cffa63b4bb86a66de51499a2b9da77332e (patch) | |
tree | 4a526c567aa2050518c41f3da7780f94d8251d27 /NorthstarDedicatedTest/audio.h | |
parent | 0adbb7b60f5134a27558404c6c0ffacd42cb38c2 (diff) | |
download | NorthstarLauncher-c21124cffa63b4bb86a66de51499a2b9da77332e.tar.gz NorthstarLauncher-c21124cffa63b4bb86a66de51499a2b9da77332e.zip |
fix typo and improve performance
Diffstat (limited to 'NorthstarDedicatedTest/audio.h')
-rw-r--r-- | NorthstarDedicatedTest/audio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/audio.h b/NorthstarDedicatedTest/audio.h index 67fe342f..d53f5317 100644 --- a/NorthstarDedicatedTest/audio.h +++ b/NorthstarDedicatedTest/audio.h @@ -24,7 +24,7 @@ public: std::vector<std::string> EventIds = {}; std::vector<std::pair<std::string, std::regex>> EventIdsRegex = {}; - std::vector<std::vector<std::uint8_t>> Samples = {}; + std::vector<std::pair<size_t, std::unique_ptr<uint8_t[]>>> Samples = {}; AudioSelectionStrategy Strategy = AudioSelectionStrategy::SEQUENTIAL; size_t CurrentIndex = 0; |