46 lines
1.5 KiB
C
46 lines
1.5 KiB
C
#ifndef __EFFECT_REG_H__
|
|
#define __EFFECT_REG_H__
|
|
|
|
#include "system/includes.h"
|
|
#include "audio_mic/mic_stream.h"
|
|
#include "media/audio_eq.h"
|
|
#include "media/audio_howling.h"
|
|
#include "media/audio_voice_changer.h"
|
|
#include "media/audio_noisegate.h"
|
|
#include "media/audio_echo_reverb.h"
|
|
#include "application/audio_dig_vol.h"
|
|
#include "application/audio_energy_detect.h"
|
|
|
|
struct __mic_effect_parm {
|
|
u32 effect_config;
|
|
u32 effect_run;
|
|
u16 sample_rate;
|
|
|
|
};
|
|
|
|
struct __effect_dodge_parm {
|
|
u32 dodge_in_thread;//触发闪避的能量阈值
|
|
u32 dodge_in_time_ms;//能量值持续大于dodge_in_thread 就触发闪避
|
|
u32 dodge_out_thread;//退出闪避的能量阈值
|
|
u32 dodge_out_time_ms;//能量值持续小于dodge_out_thread 就退出闪避
|
|
};
|
|
|
|
|
|
extern const struct __mic_effect_parm effect_parm_default;
|
|
extern const struct __mic_stream_parm effect_mic_stream_parm_default;
|
|
extern const REVERBN_PARM_SET effect_reverb_parm_default;
|
|
extern const Plate_reverb_parm effect_plate_reverb_parm_default;
|
|
extern const EF_REVERB_FIX_PARM effect_echo_fix_parm_default;
|
|
extern const ECHO_PARM_SET effect_echo_parm_default;
|
|
// extern const PITCH_SHIFT_PARM effect_pitch_parm_default;
|
|
extern const NoiseGateParam effect_noisegate_parm_default;
|
|
extern const HOWLING_PARM_SET howling_param_default;
|
|
extern audio_dig_vol_param effect_dvol_default_parm;
|
|
extern const struct __effect_dodge_parm dodge_parm;
|
|
|
|
|
|
|
|
|
|
#endif// __EFFECT_REG_H__
|
|
|