Microchip® Advanced Software Framework

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 SPEAKER_VOL_MAX   AIC23B_HP_VOL_MAX
 
#define SPEAKER_VOL_MIN   AIC23B_HP_VOL_MIN
 
#define SPEAKER_VOL_RES   1
 
#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:
{ \
}
#define AUDIO_MIXER_UNDERRUN_LED
Definition: conf_audio_mixer.h:153
void LED_Toggle(uint32_t leds)
Toggles the specified LEDs.
Definition: led.c:227

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

#define AUDIO_MIXER_OVERRUN_CALLBACK
Value:
{ \
}
#define AUDIO_MIXER_OVERRUN_LED
Definition: conf_audio_mixer.h:152
void LED_Toggle(uint32_t leds)
Toggles the specified LEDs.
Definition: led.c:227
#define AUDIO_MIXER_OVERRUN_LED   LED2
#define AUDIO_MIXER_RELOAD_CALLBACK
Value:
{ \
}
#define USB_STREAM_STATUS_DATA_PROCESSING
Definition: usb_stream_player.h:219
bool usb_stream_task(void)
Definition: usb_stream_player_with_resampling.c:692
uint8_t usb_stream_get_status(void)
Definition: usb_stream_player_with_resampling.c:79
#define USB_STREAM_STATUS_IDLE
Definition: usb_stream_player.h:218

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

#define AUDIO_MIXER_UNDERRUN_LED   LED3
#define SPEAKER_VOL_MAX   AIC23B_HP_VOL_MAX
#define SPEAKER_VOL_MIN   AIC23B_HP_VOL_MIN
#define SPEAKER_VOL_RES   1
#define USB_STREAM_OVERRUN_CALLBACK ( )    AUDIO_MIXER_OVERRUN_CALLBACK

Referenced by usb_stream_task().