Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
wiced_bt_a2dp_sink_audio_tuning_params_t Struct Reference

Audio quality tuning parameters Note. More...

Data Fields

uint16_t buf_depth_ms
 in msec, Max value allowed is 300
 
uint8_t start_buf_depth
 start playback percentage of the buffer depth
 
uint8_t target_buf_depth
 target level percentage of the buffer depth
 
wiced_bt_a2dp_sink_overrun_control_t overrun_control
 overrun flow control flag
 
int32_t adj_ppm_max
 Max PPM adjustment value.
 
int32_t adj_ppm_min
 Min PPM adjustment value.
 
int32_t adj_ppb_per_msec
 PPM adjustment per milli second.
 
int32_t lvl_correction_threshold_high
 Level correction threshold high value.
 
int32_t lvl_correction_threshold_low
 Level correction threshold low value.
 
int32_t adj_proportional_gain
 Proportional component of total PPM adjustment.
 
int32_t adj_integral_gain
 Integral component of total PPM adjustment.
 

Detailed Description

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


The documentation for this struct was generated from the following file: