diff options
| author | 2024-01-15 23:26:53 +0000 | |
|---|---|---|
| committer | 2024-01-15 23:26:53 +0000 | |
| commit | 2044ae6b3af6fab4d79996a661fef43f6db8d825 (patch) | |
| tree | 49f827eb5f5cc0eca379bce989cbe9450e4831c9 /src/audio_core/renderer/command | |
| parent | Fix typos in src/core (#12625) (diff) | |
| download | yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.gz yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.tar.xz yuzu-2044ae6b3af6fab4d79996a661fef43f6db8d825.zip | |
Fix more typos
Diffstat (limited to 'src/audio_core/renderer/command')
| -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, | |||
| 41 | const VoiceState& voice_state, const s8 channel) { | 41 | const VoiceState& voice_state, const s8 channel) { |
| 42 | if (voice_info.mix_id == UnusedMixId) { | 42 | if (voice_info.mix_id == UnusedMixId) { |
| 43 | if (voice_info.splitter_id != UnusedSplitterId) { | 43 | if (voice_info.splitter_id != UnusedSplitterId) { |
| 44 | auto destination{splitter_context.GetDesintationData(voice_info.splitter_id, 0)}; | 44 | auto destination{splitter_context.GetDestinationData(voice_info.splitter_id, 0)}; |
| 45 | u32 dest_id{0}; | 45 | u32 dest_id{0}; |
| 46 | while (destination != nullptr) { | 46 | while (destination != nullptr) { |
| 47 | if (destination->IsConfigured()) { | 47 | if (destination->IsConfigured()) { |
| @@ -55,7 +55,7 @@ void CommandGenerator::GenerateDataSourceCommand(VoiceInfo& voice_info, | |||
| 55 | } | 55 | } |
| 56 | } | 56 | } |
| 57 | dest_id++; | 57 | dest_id++; |
| 58 | destination = splitter_context.GetDesintationData(voice_info.splitter_id, dest_id); | 58 | destination = splitter_context.GetDestinationData(voice_info.splitter_id, dest_id); |
| 59 | } | 59 | } |
| 60 | } | 60 | } |
| 61 | } else { | 61 | } else { |
| @@ -234,7 +234,7 @@ void CommandGenerator::GenerateVoiceCommand(VoiceInfo& voice_info) { | |||
| 234 | if (voice_info.mix_id == UnusedMixId) { | 234 | if (voice_info.mix_id == UnusedMixId) { |
| 235 | if (voice_info.splitter_id != UnusedSplitterId) { | 235 | if (voice_info.splitter_id != UnusedSplitterId) { |
| 236 | auto i{channel}; | 236 | auto i{channel}; |
| 237 | auto destination{splitter_context.GetDesintationData(voice_info.splitter_id, i)}; | 237 | auto destination{splitter_context.GetDestinationData(voice_info.splitter_id, i)}; |
| 238 | while (destination != nullptr) { | 238 | while (destination != nullptr) { |
| 239 | if (destination->IsConfigured()) { | 239 | if (destination->IsConfigured()) { |
| 240 | const auto mix_id{destination->GetMixId()}; | 240 | const auto mix_id{destination->GetMixId()}; |
| @@ -249,7 +249,7 @@ void CommandGenerator::GenerateVoiceCommand(VoiceInfo& voice_info) { | |||
| 249 | } | 249 | } |
| 250 | } | 250 | } |
| 251 | i += voice_info.channel_count; | 251 | i += voice_info.channel_count; |
| 252 | destination = splitter_context.GetDesintationData(voice_info.splitter_id, i); | 252 | destination = splitter_context.GetDestinationData(voice_info.splitter_id, i); |
| 253 | } | 253 | } |
| 254 | } | 254 | } |
| 255 | } else { | 255 | } else { |
| @@ -591,7 +591,7 @@ void CommandGenerator::GenerateMixCommands(MixInfo& mix_info) { | |||
| 591 | if (mix_info.dst_splitter_id != UnusedSplitterId) { | 591 | if (mix_info.dst_splitter_id != UnusedSplitterId) { |
| 592 | s16 dest_id{0}; | 592 | s16 dest_id{0}; |
| 593 | auto destination{ | 593 | auto destination{ |
| 594 | splitter_context.GetDesintationData(mix_info.dst_splitter_id, dest_id)}; | 594 | splitter_context.GetDestinationData(mix_info.dst_splitter_id, dest_id)}; |
| 595 | while (destination != nullptr) { | 595 | while (destination != nullptr) { |
| 596 | if (destination->IsConfigured()) { | 596 | if (destination->IsConfigured()) { |
| 597 | auto splitter_mix_id{destination->GetMixId()}; | 597 | auto splitter_mix_id{destination->GetMixId()}; |
| @@ -612,7 +612,7 @@ void CommandGenerator::GenerateMixCommands(MixInfo& mix_info) { | |||
| 612 | } | 612 | } |
| 613 | dest_id++; | 613 | dest_id++; |
| 614 | destination = | 614 | destination = |
| 615 | splitter_context.GetDesintationData(mix_info.dst_splitter_id, dest_id); | 615 | splitter_context.GetDestinationData(mix_info.dst_splitter_id, dest_id); |
| 616 | } | 616 | } |
| 617 | } | 617 | } |
| 618 | } else { | 618 | } else { |