Nordic Thingy:52
|
Microphone driver API. More...
Data Structures | |
struct | m_audio_frame_t |
Compressed audio frame representation. More... | |
Typedefs | |
typedef uint32_t(* | drv_mic_data_handler_t )(m_audio_frame_t *p_frame) |
Microphone driver data handler callback type. | |
Functions | |
uint32_t | drv_mic_init (drv_mic_data_handler_t data_handler) |
Function for initializing the microphone driver. More... | |
uint32_t | drv_mic_start (void) |
Function for starting the microphone driver. More... | |
uint32_t | drv_mic_stop (void) |
Function for stopping the microphone driver. More... | |
Microphone driver API.
uint32_t drv_mic_init | ( | drv_mic_data_handler_t | data_handler | ) |
Function for initializing the microphone driver.
[in] | data_handler | Pointer data handler callback. |
NRF_SUCCESS | If initialization was successful. |
uint32_t drv_mic_start | ( | void | ) |
Function for starting the microphone driver.
NRF_SUCCESS | If initialization was successful. |
uint32_t drv_mic_stop | ( | void | ) |
Function for stopping the microphone driver.
NRF_SUCCESS | If initialization was successful. |