diff options
Diffstat (limited to '')
-rw-r--r-- | src/audio_core/mix_context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/audio_core/mix_context.cpp b/src/audio_core/mix_context.cpp index 8e150db03..f6f119a11 100644 --- a/src/audio_core/mix_context.cpp +++ b/src/audio_core/mix_context.cpp @@ -16,6 +16,7 @@ void MixContext::Initialize(const BehaviorInfo& behavior_info, std::size_t mix_c infos.resize(info_count); auto& final_mix = GetInfo(AudioCommon::FINAL_MIX); final_mix.GetInParams().mix_id = AudioCommon::FINAL_MIX; + sorted_info.reserve(infos.size()); for (auto& info : infos) { sorted_info.push_back(&info); } |