diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2020-08-14 15:20:20 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2020-08-14 15:20:20 +0200 |
commit | 1f1c3bddc0d89d0c0b75a9611805e983a7c10bcb (patch) | |
tree | 271f02549b4da375400024283909a1bb332d7f92 /src | |
parent | Reworked ADPCM decoder to allow better streaming (diff) | |
download | yuzu-1f1c3bddc0d89d0c0b75a9611805e983a7c10bcb.tar yuzu-1f1c3bddc0d89d0c0b75a9611805e983a7c10bcb.tar.gz yuzu-1f1c3bddc0d89d0c0b75a9611805e983a7c10bcb.tar.bz2 yuzu-1f1c3bddc0d89d0c0b75a9611805e983a7c10bcb.tar.lz yuzu-1f1c3bddc0d89d0c0b75a9611805e983a7c10bcb.tar.xz yuzu-1f1c3bddc0d89d0c0b75a9611805e983a7c10bcb.tar.zst yuzu-1f1c3bddc0d89d0c0b75a9611805e983a7c10bcb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio_core/command_generator.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/audio_core/command_generator.cpp b/src/audio_core/command_generator.cpp index 157140d68..73608c9ed 100644 --- a/src/audio_core/command_generator.cpp +++ b/src/audio_core/command_generator.cpp @@ -163,11 +163,10 @@ void CommandGenerator::GenerateVoiceCommand(ServerVoiceInfo& voice_info) { destination_data->MarkDirty(); } } - } - - // Update biquad filter enabled states - for (std::size_t i = 0; i < AudioCommon::MAX_BIQUAD_FILTERS; i++) { - in_params.was_biquad_filter_enabled[i] = in_params.biquad_filter[i].enabled; + // Update biquad filter enabled states + for (std::size_t i = 0; i < AudioCommon::MAX_BIQUAD_FILTERS; i++) { + in_params.was_biquad_filter_enabled[i] = in_params.biquad_filter[i].enabled; + } } } } @@ -269,9 +268,11 @@ void CommandGenerator::GenerateBiquadFilterCommandForVoice(ServerVoiceInfo& voic } // Generate biquad filter - GenerateBiquadFilterCommand(mix_buffer_count, biquad_filter, dsp_state.biquad_filter_state, - mix_buffer_count + channel, mix_buffer_count + channel, - worker_params.sample_count, voice_info.GetInParams().node_id); + // GenerateBiquadFilterCommand(mix_buffer_count, biquad_filter, + // dsp_state.biquad_filter_state, + // mix_buffer_count + channel, mix_buffer_count + + // channel, worker_params.sample_count, + // voice_info.GetInParams().node_id); } } |