diff options
| author | bunnei <bunneidev@gmail.com> | 2021-07-03 00:24:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-03 00:24:33 -0700 |
| commit | 2fc0a760f09c4557d476204ef558743e6f42bd71 (patch) | |
| tree | 87be7a47b82b30d3a2805f47a77b72ef28805af6 /src/audio_core/info_updater.cpp | |
| parent | bab400daafaed898840c979e04717934cb977135 (diff) | |
| parent | b455043e45737345fe73d118947db1684bd248ea (diff) | |
Merge pull request #6498 from Kelebek1/Audio
[audio_core] Decouple audio update and processing, and process at variable rate
Diffstat (limited to 'src/audio_core/info_updater.cpp')
| -rw-r--r-- | src/audio_core/info_updater.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/audio_core/info_updater.cpp b/src/audio_core/info_updater.cpp index 4a5b1b4ab..9b4ca1851 100644 --- a/src/audio_core/info_updater.cpp +++ b/src/audio_core/info_updater.cpp @@ -189,9 +189,6 @@ bool InfoUpdater::UpdateVoices(VoiceContext& voice_context, if (voice_in_params.is_new) { // Default our values for our voice voice_info.Initialize(); - if (channel_count == 0 || channel_count > AudioCommon::MAX_CHANNEL_COUNT) { - continue; - } // Zero out our voice states for (std::size_t channel = 0; channel < channel_count; channel++) { |
