Infineon Logo AIROC BTSDK v4.4 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Types

Data Types for Audio Record. More...

Data Structures

struct  wiced_bt_audio_record_event_data_ready_t
 Data associated with WICED_BT_AUDIO_RECORD_EVT_DATA_READY. More...
 
struct  wiced_bt_audio_record_event_audio_info_t
 Data associated with WICED_BT_AUDIO_RECORD_EVT_AUDIO_INFO. More...
 
union  wiced_bt_audio_record_event_data_t
 Union of data associated with NREC events. More...
 

Modules

 API Functions
  API Functions module for Audio Record.
 

Typedefs

typedef void( wiced_bt_audio_record_callback_t )(wiced_bt_audio_record_event_t event, wiced_bt_audio_record_event_data_t *p_data)
 Audio Record Callback function type wiced_bt_audio_record_callback_t. More...
 

Enumerations

enum  wiced_bt_audio_record_event_t { WICED_BT_AUDIO_RECORD_EVT_DATA_READY = 3, WICED_BT_AUDIO_RECORD_EVT_AUDIO_INFO }
 Audio Record Events. More...
 

Functions

wiced_result_t wiced_bt_audio_record_enable (uint8_t enable, uint32_t *p_sample_rate)
 Function wiced_bt_audio_record_enable. More...
 

Detailed Description

Data Types for Audio Record.

Typedef Documentation

typedef void( wiced_bt_audio_record_callback_t)(wiced_bt_audio_record_event_t event, wiced_bt_audio_record_event_data_t *p_data)

Audio Record Callback function type wiced_bt_audio_record_callback_t.

Audio Record Event callback (registered with wiced_bt_audio_record_init)

Parameters
[in]eventAudio Record event received
[in]p_data: Data (pointer on union of structure) associated with the event
Returns
NONE

Enumeration Type Documentation

Audio Record Events.

Audio Record events received by the Audio Record callback (see wiced_bt_audio_record_callback_t)

Function Documentation

wiced_result_t wiced_bt_audio_record_enable ( uint8_t  enable,
uint32_t *  p_sample_rate 
)

Function wiced_bt_audio_record_enable.

This function is called to Enable/disable Audio Record.

Parameters
[in]enableEnable (1) or Disable (0) Audio Recordion
in/out]sample_rate: IN: Sample Rate proposed by the application OUT: Sample Rate to use (decided by HW/HW)
Returns
Result code (see wiced_result_t)