mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-27 09:30:04 +00:00
audio_core: Remove temp_mix_buffer
It's unused and doesn't need to be initialized
This commit is contained in:
parent
d9b729bbfd
commit
d7019d8307
@ -79,8 +79,7 @@ AudioRenderer::AudioRenderer(Core::Timing::CoreTiming& core_timing, Core::Memory
|
|||||||
sink_context(params.sink_count), splitter_context(),
|
sink_context(params.sink_count), splitter_context(),
|
||||||
voices(params.voice_count), memory{memory_},
|
voices(params.voice_count), memory{memory_},
|
||||||
command_generator(worker_params, voice_context, mix_context, splitter_context, effect_context,
|
command_generator(worker_params, voice_context, mix_context, splitter_context, effect_context,
|
||||||
memory),
|
memory) {
|
||||||
temp_mix_buffer(AudioCommon::TOTAL_TEMP_MIX_SIZE) {
|
|
||||||
behavior_info.SetUserRevision(params.revision);
|
behavior_info.SetUserRevision(params.revision);
|
||||||
splitter_context.Initialize(behavior_info, params.splitter_count,
|
splitter_context.Initialize(behavior_info, params.splitter_count,
|
||||||
params.num_splitter_send_channels);
|
params.num_splitter_send_channels);
|
||||||
|
@ -73,7 +73,6 @@ private:
|
|||||||
Core::Memory::Memory& memory;
|
Core::Memory::Memory& memory;
|
||||||
CommandGenerator command_generator;
|
CommandGenerator command_generator;
|
||||||
std::size_t elapsed_frame_count{};
|
std::size_t elapsed_frame_count{};
|
||||||
std::vector<s32> temp_mix_buffer{};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace AudioCore
|
} // namespace AudioCore
|
||||||
|
Loading…
Reference in New Issue
Block a user