diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-16 05:26:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 05:26:08 +0100 |
commit | 2c29c2b8dd280d0aeff432569f324cd85d83b415 (patch) | |
tree | e5552e7f82ccb37b611a3a577f94c91f9c813320 /src/audio_core/renderer/command/command_generator.cpp | |
parent | Merge pull request #12681 from t895/stick-toggles (diff) | |
parent | Fix typos in master (diff) | |
download | yuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.tar yuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.tar.gz yuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.tar.bz2 yuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.tar.lz yuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.tar.xz yuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.tar.zst yuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.zip |
Diffstat (limited to 'src/audio_core/renderer/command/command_generator.cpp')
-rw-r--r-- | src/audio_core/renderer/command/command_generator.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/audio_core/renderer/command/command_generator.cpp b/src/audio_core/renderer/command/command_generator.cpp index ccb186209..f97db5899 100644 --- a/src/audio_core/renderer/command/command_generator.cpp +++ b/src/audio_core/renderer/command/command_generator.cpp @@ -41,7 +41,7 @@ void CommandGenerator::GenerateDataSourceCommand(VoiceInfo& voice_info, const VoiceState& voice_state, const s8 channel) { if (voice_info.mix_id == UnusedMixId) { if (voice_info.splitter_id != UnusedSplitterId) { - auto destination{splitter_context.GetDesintationData(voice_info.splitter_id, 0)}; + auto destination{splitter_context.GetDestinationData(voice_info.splitter_id, 0)}; u32 dest_id{0}; while (destination != nullptr) { if (destination->IsConfigured()) { @@ -55,7 +55,7 @@ void CommandGenerator::GenerateDataSourceCommand(VoiceInfo& voice_info, } } dest_id++; - destination = splitter_context.GetDesintationData(voice_info.splitter_id, dest_id); + destination = splitter_context.GetDestinationData(voice_info.splitter_id, dest_id); } } } else { @@ -234,7 +234,7 @@ void CommandGenerator::GenerateVoiceCommand(VoiceInfo& voice_info) { if (voice_info.mix_id == UnusedMixId) { if (voice_info.splitter_id != UnusedSplitterId) { auto i{channel}; - auto destination{splitter_context.GetDesintationData(voice_info.splitter_id, i)}; + auto destination{splitter_context.GetDestinationData(voice_info.splitter_id, i)}; while (destination != nullptr) { if (destination->IsConfigured()) { const auto mix_id{destination->GetMixId()}; @@ -249,7 +249,7 @@ void CommandGenerator::GenerateVoiceCommand(VoiceInfo& voice_info) { } } i += voice_info.channel_count; - destination = splitter_context.GetDesintationData(voice_info.splitter_id, i); + destination = splitter_context.GetDestinationData(voice_info.splitter_id, i); } } } else { @@ -591,7 +591,7 @@ void CommandGenerator::GenerateMixCommands(MixInfo& mix_info) { if (mix_info.dst_splitter_id != UnusedSplitterId) { s16 dest_id{0}; auto destination{ - splitter_context.GetDesintationData(mix_info.dst_splitter_id, dest_id)}; + splitter_context.GetDestinationData(mix_info.dst_splitter_id, dest_id)}; while (destination != nullptr) { if (destination->IsConfigured()) { auto splitter_mix_id{destination->GetMixId()}; @@ -612,7 +612,7 @@ void CommandGenerator::GenerateMixCommands(MixInfo& mix_info) { } dest_id++; destination = - splitter_context.GetDesintationData(mix_info.dst_splitter_id, dest_id); + splitter_context.GetDestinationData(mix_info.dst_splitter_id, dest_id); } } } else { |