Smart Remote 3 nRF52 v1.2
drv_audio.h
1 /*$$$LICENCE_NORDIC_STANDARD<2016>$$$*/
2 
9 #ifndef __DRV_AUDIO_H__
10 #define __DRV_AUDIO_H__
11 
12 #include <stdbool.h>
13 #include <stdint.h>
14 
15 #include "nrf_balloc.h"
16 #include "nrf_cli.h"
17 
19 typedef void (*drv_audio_buffer_handler_t)(int16_t *p_buffer);
20 
22 extern const nrf_cli_cmd_entry_t drv_audio_subcmds;
23 
29 ret_code_t drv_audio_enable(void);
30 
36 ret_code_t drv_audio_disable(void);
37 
46 ret_code_t drv_audio_init(nrf_balloc_t const * p_buffer_pool,
47  drv_audio_buffer_handler_t buffer_handler);
48 
49 #endif /* __DRV_AUDIO_H__ */
50 

Documentation feedback | Developer Zone | Subscribe | Updated