setLocalVoiceEqualization method
@detail api @author wangjunzheng @brief Set the equalization effect for the local captured audio. The audio includes both internal captured audio and external captured voice, but not the mixing audio file. @param config See ByteRTCVoiceEqualizationConfig{@link #ByteRTCVoiceEqualizationConfig}. @return - 0: Success. - < 0: Failure. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details. @note According to the Nyquist acquisition rate, the audio acquisition rate must be greater than twice the set center frequency. Otherwise, the setting will not be effective.
Implementation
FutureOr<int> setLocalVoiceEqualization(
ByteRTCVoiceEqualizationConfig config) async {
return await nativeCall('setLocalVoiceEqualization:', [config]);
}