Atmel Software Framework

services/usb/_asf_v1/class/audio/examples/host/adaptive_src/conf_audio_mixer.h File Reference
#include "board.h"
#include "conf_audio_player.h"
#include "pwm_dac.h"
#include "tlv320aic23b.h"
#include "tpa6130.h"
#include "usb_stream_player.h"

Macros

#define AUDIO_MIXER_OUT_OF_SAMPLES_CALLBACK
 
#define AUDIO_MIXER_OVERRUN_CALLBACK
 
#define AUDIO_MIXER_RELOAD_CALLBACK
 
#define USB_STREAM_OVERRUN_CALLBACK()   AUDIO_MIXER_OVERRUN_CALLBACK
 
DACs Bit-Masks
#define AUDIO_MIXER_DAC_PWM_DAC   1
 
#define AUDIO_MIXER_DAC_AIC23B   2
 
#define AUDIO_MIXER_DAC_ABDAC   4
 
DACs Interfaces
#define AUDIO_MIXER_DACS_INTERFACES
 
LEDs
#define AUDIO_MIXER_OVERRUN_LED   LED2
 
#define AUDIO_MIXER_UNDERRUN_LED   LED3
 

#define AUDIO_MIXER_DAC_ABDAC   4
#define AUDIO_MIXER_DAC_AIC23B   2
#define AUDIO_MIXER_DAC_PWM_DAC   1
#define AUDIO_MIXER_DACS_INTERFACES
#define AUDIO_MIXER_OUT_OF_SAMPLES_CALLBACK
Value:
{ \
LED_Toggle(AUDIO_MIXER_UNDERRUN_LED); \
}
#define AUDIO_MIXER_UNDERRUN_LED
Definition: services/usb/_asf_v1/class/audio/examples/host/adaptive_src/conf_audio_mixer.h:160
#define AUDIO_MIXER_OVERRUN_CALLBACK
Value:
{ \
LED_Toggle(AUDIO_MIXER_OVERRUN_LED); \
}
#define AUDIO_MIXER_OVERRUN_LED
Definition: services/usb/_asf_v1/class/audio/examples/host/adaptive_src/conf_audio_mixer.h:159
#define AUDIO_MIXER_OVERRUN_LED   LED2
#define AUDIO_MIXER_RELOAD_CALLBACK
Value:
{ \
if (usb_stream_get_status() & USB_STREAM_STATUS_IDLE && \
!(usb_stream_get_status() & USB_STREAM_STATUS_DATA_PROCESSING)) \
}
bool usb_stream_task(void)
Definition: usb_stream_player_with_resampling.c:699
uint8_t usb_stream_get_status(void)
Definition: usb_stream_player_with_resampling.c:86
if(Is_usb_id_transition()&&Is_usb_id_interrupt_enabled())
Definition: applications/uc3-audio-player/usb_task.c:395
#define AUDIO_MIXER_UNDERRUN_LED   LED3
#define USB_STREAM_OVERRUN_CALLBACK ( )    AUDIO_MIXER_OVERRUN_CALLBACK

Referenced by usb_stream_task().