set threshhold gain

This commit is contained in:
Steven Dan
2026-02-02 12:32:35 +08:00
parent f5eaca5141
commit 04bb601a94

View File

@@ -1427,6 +1427,19 @@ void ex3d_task(){
debug_printf("audio_ex3d_init() error:%d\n\r", ret);
}
audio_ex3d_onoff(0);
#if !UAC1_MODE
Ex3dOffGain = -5;
Ex3dOnGain = -5;
Ex3dLfeGain = -5;
Ex3dLimiterThreshold = -15;
EX3DAudio_SetOnGain(Ex3dOnGain);
EX3DAudio_SetOffGain(Ex3dOffGain);
EX3DAudio_SetLimiterThreshold(Ex3dLimiterThreshold);
#endif
while (1) {
OnProcessing(c_ex3d_to_ubm, uc_dsp_to_ex3d);
}