Atmel Software Framework

device_audio_task.h File Reference
#include "conf_usb.h"

Data Structures

struct  device_audio_task_data_t
 Define for each 'feature unit' the max numbers of bmaControls One of them is used by the microphone! More...
 

Macros

#define MAX_BMA_CONTROLS   4
 Define for each 'feature unit' the max numbers of bmaControls. More...
 

Functions

void device_audio_disable_microphone (void)
 
void device_audio_enable_microphone (void)
 
void device_audio_task (void)
 Entry point of the device Audio task management. More...
 
void device_audio_task_init (void)
 This function initializes the hardware/software resources required for device Audio task. More...
 
void usb_sof_action (void)
 usb_sof_action More...
 

#define MAX_BMA_CONTROLS   4

Define for each 'feature unit' the max numbers of bmaControls.

void device_audio_disable_microphone ( void  )
void device_audio_enable_microphone ( void  )
void device_audio_task_init ( void  )

This function initializes the hardware/software resources required for device Audio task.

References b_microphone_pause, b_microphone_started, microphone_st::buffer, device_audio_task(), Is_usb_device, microphone, NULL, player_init(), microphone_st::size, sof_cnt, SPEAKER_FREQUENCY, Usb_enable_sof_interrupt, usb_stream_init(), and xTaskCreate.

Referenced by main().