aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/audio.h
diff options
context:
space:
mode:
authorHappyDOGE <28511119+HappyDOGE@users.noreply.github.com>2022-01-04 16:56:03 +0300
committerHappyDOGE <28511119+HappyDOGE@users.noreply.github.com>2022-01-04 16:56:03 +0300
commitc21124cffa63b4bb86a66de51499a2b9da77332e (patch)
tree4a526c567aa2050518c41f3da7780f94d8251d27 /NorthstarDedicatedTest/audio.h
parent0adbb7b60f5134a27558404c6c0ffacd42cb38c2 (diff)
downloadNorthstarLauncher-c21124cffa63b4bb86a66de51499a2b9da77332e.tar.gz
NorthstarLauncher-c21124cffa63b4bb86a66de51499a2b9da77332e.zip
fix typo and improve performance
Diffstat (limited to 'NorthstarDedicatedTest/audio.h')
-rw-r--r--NorthstarDedicatedTest/audio.h2
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;