SWITCH_BEGIN_EXTERN_C
typedef struct switch_frame_geometry {
- uint32_t w;
- uint32_t h;
- uint32_t x;
- uint32_t y;
- uint32_t z;
- uint32_t M;
- uint32_t X;
+ int32_t w;
+ int32_t h;
+ int32_t x;
+ int32_t y;
+ int32_t z;
+ int32_t M;
+ int32_t X;
} switch_frame_geometry_t;
/*! \brief An abstraction of a data frame */
uint32_t agc_margin;
uint32_t agc_change_factor;
uint32_t agc_period_len;
- uint32_t max_energy_hit_trigger;
- uint32_t auto_energy_sec;
+ int32_t max_energy_hit_trigger;
+ int32_t auto_energy_sec;
uint32_t burst_mute_count;
uint8_t min;
switch_speech_handle_t lsh;
switch_buffer_t *mux_buffer;
switch_buffer_t *resample_buffer;
member_flag_t flags[MFLAG_MAX];
- uint32_t score;
- uint32_t last_score;
+ int32_t score;
+ int32_t last_score;
uint32_t score_iir;
switch_mutex_t *flag_mutex;
switch_mutex_t *write_mutex;
int32_t energy_level;
int32_t auto_energy_level;
int32_t max_energy_level;
- uint32_t agc_level;
+ int32_t agc_level;
uint32_t agc_low_energy_level;
uint32_t agc_margin;
uint32_t agc_change_factor;