@@ -15,25 +15,25 @@ class AudioProcessingModule:
1515 def __init__ (
1616 self ,
1717 * ,
18- echo_canceller_enabled : bool = False ,
19- noise_suppression_enabled : bool = False ,
20- high_pass_filter_enabled : bool = False ,
21- gain_controller_enabled : bool = False ,
18+ echo_cancellation : bool = False ,
19+ noise_suppression : bool = False ,
20+ high_pass_filter : bool = False ,
21+ auto_gain_control : bool = False ,
2222 ) -> None :
2323 """
2424 Initialize an AudioProcessingModule instance with the specified audio processing features.
2525
2626 Args:
27- echo_canceller_enabled (bool, optional): Whether to enable echo cancellation.
28- noise_suppression_enabled (bool, optional): Whether to enable noise suppression.
29- high_pass_filter_enabled (bool, optional): Whether to enable a high-pass filter.
30- gain_controller_enabled (bool, optional): Whether to enable a gain controller.
27+ echo_cancellation (bool, optional): Whether to enable echo cancellation.
28+ noise_suppression (bool, optional): Whether to enable noise suppression.
29+ high_pass_filter (bool, optional): Whether to enable a high-pass filter.
30+ auto_gain_control (bool, optional): Whether to enable a gain controller.
3131 """
3232 req = proto_ffi .FfiRequest ()
33- req .new_apm .echo_canceller_enabled = echo_canceller_enabled
34- req .new_apm .noise_suppression_enabled = noise_suppression_enabled
35- req .new_apm .high_pass_filter_enabled = high_pass_filter_enabled
36- req .new_apm .gain_controller_enabled = gain_controller_enabled
33+ req .new_apm .echo_canceller_enabled = echo_cancellation
34+ req .new_apm .noise_suppression_enabled = noise_suppression
35+ req .new_apm .high_pass_filter_enabled = high_pass_filter
36+ req .new_apm .gain_controller_enabled = auto_gain_control
3737
3838 resp = FfiClient .instance .request (req )
3939 self ._ffi_handle = FfiHandle (resp .new_apm .apm .handle .id )
0 commit comments