diff options
| author | 2020-11-28 23:25:28 +1100 | |
|---|---|---|
| committer | 2020-11-28 23:25:28 +1100 | |
| commit | d7019d8307bf8db1d985e3a537bd83289cf1a3de (patch) | |
| tree | 38f748e3b97b56ccd5196c41f661898f8999f137 /src | |
| parent | Merge pull request #5015 from comex/xx-sign-compare (diff) | |
| download | yuzu-d7019d8307bf8db1d985e3a537bd83289cf1a3de.tar.gz yuzu-d7019d8307bf8db1d985e3a537bd83289cf1a3de.tar.xz yuzu-d7019d8307bf8db1d985e3a537bd83289cf1a3de.zip | |
audio_core: Remove temp_mix_buffer
It's unused and doesn't need to be initialized
Diffstat (limited to 'src')
| -rw-r--r-- | src/audio_core/audio_renderer.cpp | 3 | ||||
| -rw-r--r-- | src/audio_core/audio_renderer.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/audio_core/audio_renderer.cpp b/src/audio_core/audio_renderer.cpp index e1ded84e0..5f532ed31 100644 --- a/src/audio_core/audio_renderer.cpp +++ b/src/audio_core/audio_renderer.cpp | |||
| @@ -79,8 +79,7 @@ AudioRenderer::AudioRenderer(Core::Timing::CoreTiming& core_timing, Core::Memory | |||
| 79 | sink_context(params.sink_count), splitter_context(), | 79 | sink_context(params.sink_count), splitter_context(), |
| 80 | voices(params.voice_count), memory{memory_}, | 80 | voices(params.voice_count), memory{memory_}, |
| 81 | command_generator(worker_params, voice_context, mix_context, splitter_context, effect_context, | 81 | command_generator(worker_params, voice_context, mix_context, splitter_context, effect_context, |
| 82 | memory), | 82 | memory) { |
| 83 | temp_mix_buffer(AudioCommon::TOTAL_TEMP_MIX_SIZE) { | ||
| 84 | behavior_info.SetUserRevision(params.revision); | 83 | behavior_info.SetUserRevision(params.revision); |
| 85 | splitter_context.Initialize(behavior_info, params.splitter_count, | 84 | splitter_context.Initialize(behavior_info, params.splitter_count, |
| 86 | params.num_splitter_send_channels); | 85 | params.num_splitter_send_channels); |
diff --git a/src/audio_core/audio_renderer.h b/src/audio_core/audio_renderer.h index a85219045..54ac68b80 100644 --- a/src/audio_core/audio_renderer.h +++ b/src/audio_core/audio_renderer.h | |||
| @@ -73,7 +73,6 @@ private: | |||
| 73 | Core::Memory::Memory& memory; | 73 | Core::Memory::Memory& memory; |
| 74 | CommandGenerator command_generator; | 74 | CommandGenerator command_generator; |
| 75 | std::size_t elapsed_frame_count{}; | 75 | std::size_t elapsed_frame_count{}; |
| 76 | std::vector<s32> temp_mix_buffer{}; | ||
| 77 | }; | 76 | }; |
| 78 | 77 | ||
| 79 | } // namespace AudioCore | 78 | } // namespace AudioCore |