Atmel Software Framework

applications/uc3-audio-player/conf/conf_audio_mixer.h File Reference
#include "board.h"
#include "pwm_dac.h"
#include "tlv320aic23b.h"
#include "tpa6130.h"
#include "conf_audio_player.h"

Macros

#define AUDIO_MIXER_OUT_OF_SAMPLES_CALLBACK
 
#define AUDIO_MIXER_OVERRUN_CALLBACK
 
#define SPEAKER_VOL_MAX   255
 TODO fix this value. More...
 
#define SPEAKER_VOL_MIN   0
 
#define SPEAKER_VOL_RES   1
 
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   LED3
 
#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: applications/uc3-audio-player/conf/conf_audio_mixer.h:157

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

#define AUDIO_MIXER_OVERRUN_CALLBACK
Value:
{ \
LED_Toggle(AUDIO_MIXER_OVERRUN_LED); \
}
#define AUDIO_MIXER_OVERRUN_LED
Definition: applications/uc3-audio-player/conf/conf_audio_mixer.h:156
#define AUDIO_MIXER_OVERRUN_LED   LED3
#define AUDIO_MIXER_UNDERRUN_LED   LED3
#define SPEAKER_VOL_MAX   255

TODO fix this value.

Referenced by audio_speaker_set_volume(), and volume_usb_to_appli().

#define SPEAKER_VOL_MIN   0
#define SPEAKER_VOL_RES   1