Audio ANR. More...
Functions | |
void | drv_audio_anr_init (void) |
Initialize Active Noise Reduction. | |
void | drv_audio_anr_perfrom (int16_t *p_samples, unsigned int buffer_size) |
Perform Active Noise Reduction. More... | |
Audio ANR.
void drv_audio_anr_perfrom | ( | int16_t * | p_samples, |
unsigned int | buffer_size | ||
) |
Perform Active Noise Reduction.
Buffer that contains data from 2 microphones (interleaved) is converted to single channel with the noise suppressed.
[in,out] | p_samples | Pointer to audio_buffer samples. |
[in] | buffer_size | Number of sample pairs in a buffer. |