Atmel Software Framework

services/usb/_asf_v1/class/audio/examples/device/fract_pll/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_RELOAD_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:
{ \
}
void dac_underflow_cb(void)
This callback function is called when the PWM DAC interrupt does not have any more audio samples (i...
Definition: usb_stream_player.c:134
#define AUDIO_MIXER_OVERRUN_LED   LED2
#define AUDIO_MIXER_RELOAD_CALLBACK
Value:
{ \
}
void dac_sample_sent_cb(void)
This callback function is called when the DAC interrupt has sent the buffer 'n-1' and switches to buf...
Definition: usb_stream_player.c:98

Referenced by audio_mixer_callback(), audio_mixer_dacs_setup_direct(), and audio_mixer_dacs_start_direct().

#define AUDIO_MIXER_UNDERRUN_LED   LED3