AIROC™ BTSDK v4.0 - Documentation | ||||
Audio quality tuning parameters Note. More...
Data Fields | |
uint16_t | buf_depth_ms |
uint8_t | start_buf_depth |
uint8_t | target_buf_depth |
wiced_bt_a2dp_sink_overrun_control_t | overrun_control |
int32_t | adj_ppm_max |
int32_t | adj_ppm_min |
int32_t | adj_ppb_per_msec |
int32_t | lvl_correction_threshold_high |
int32_t | lvl_correction_threshold_low |
int32_t | adj_proportional_gain |
int32_t | adj_integral_gain |
Audio quality tuning parameters Note.
The average buffer level, over a period of time, is compared to the target buffer level (calculated based on the Target BUF Depth %) and used to compute the necessary clock adjustment in ppm (Level Correction). If the Level Correction stays within the ppm range defined by Level Correction Threshold High and Level Correction Threshold Low, then the algorithm only applies small clock adjustments that are proportional to the amplitude of the Level Correction (typically, 1.5%~2.0% of the Level Correction value). Otherwise, if the Level Correction falls outside of the Level Correction Threshold High and Level Correction Threshold Low interval for 3 successive adjustment periods, the algorithm applies large clock adjustments defined Adjustment ppm Max or Adjustment ppm Min in an effort to get back within range