forked from suyu/suyu
Disable biquad filter
This commit is contained in:
parent
1b3d86c02f
commit
1f1c3bddc0
1 changed files with 9 additions and 8 deletions
|
@ -163,13 +163,12 @@ void CommandGenerator::GenerateVoiceCommand(ServerVoiceInfo& voice_info) {
|
||||||
destination_data->MarkDirty();
|
destination_data->MarkDirty();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Update biquad filter enabled states
|
// Update biquad filter enabled states
|
||||||
for (std::size_t i = 0; i < AudioCommon::MAX_BIQUAD_FILTERS; i++) {
|
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;
|
in_params.was_biquad_filter_enabled[i] = in_params.biquad_filter[i].enabled;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CommandGenerator::GenerateSubMixCommands() {
|
void CommandGenerator::GenerateSubMixCommands() {
|
||||||
|
@ -269,9 +268,11 @@ void CommandGenerator::GenerateBiquadFilterCommandForVoice(ServerVoiceInfo& voic
|
||||||
}
|
}
|
||||||
|
|
||||||
// Generate biquad filter
|
// Generate biquad filter
|
||||||
GenerateBiquadFilterCommand(mix_buffer_count, biquad_filter, dsp_state.biquad_filter_state,
|
// GenerateBiquadFilterCommand(mix_buffer_count, biquad_filter,
|
||||||
mix_buffer_count + channel, mix_buffer_count + channel,
|
// dsp_state.biquad_filter_state,
|
||||||
worker_params.sample_count, voice_info.GetInParams().node_id);
|
// mix_buffer_count + channel, mix_buffer_count +
|
||||||
|
// channel, worker_params.sample_count,
|
||||||
|
// voice_info.GetInParams().node_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue