diff options
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, | |||
| 189 | if (voice_in_params.is_new) { | 189 | if (voice_in_params.is_new) { |
| 190 | // Default our values for our voice | 190 | // Default our values for our voice |
| 191 | voice_info.Initialize(); | 191 | voice_info.Initialize(); |
| 192 | if (channel_count == 0 || channel_count > AudioCommon::MAX_CHANNEL_COUNT) { | ||
| 193 | continue; | ||
| 194 | } | ||
| 195 | 192 | ||
| 196 | // Zero out our voice states | 193 | // Zero out our voice states |
| 197 | for (std::size_t channel = 0; channel < channel_count; channel++) { | 194 | for (std::size_t channel = 0; channel < channel_count; channel++) { |