Definition in file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#include "board.h"
#include "conf_audio_player.h"
#include "pwm_dac.h"
#include "tlv320aic23b.h"
#include "tpa6130.h"
#include "usb_stream_player.h"
Go to the source code of this file.
Defines | |
#define | AUDIO_MIXER_ADC_OUT_OF_SAMPLE |
#define | AUDIO_MIXER_ADC_RELOAD_CALLBACK |
#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_ABDAC 4 |
#define | AUDIO_MIXER_DAC_AIC23B 2 |
#define | AUDIO_MIXER_DAC_PWM_DAC 1 |
DACs Interfaces | |
#define | AUDIO_MIXER_DACS_INTERFACES |
LEDs | |
#define | AUDIO_MIXER_OVERRUN_LED LED2 |
#define | AUDIO_MIXER_UNDERRUN_LED LED3 |
#define AUDIO_MIXER_ADC_OUT_OF_SAMPLE |
Value:
{ \ adc_underflow_cb(); \ }
Definition at line 189 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#define AUDIO_MIXER_ADC_RELOAD_CALLBACK |
Value:
{ \ adc_sample_sent_cb(); \ }
Definition at line 184 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#define AUDIO_MIXER_DAC_ABDAC 4 |
Definition at line 67 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#define AUDIO_MIXER_DAC_AIC23B 2 |
Definition at line 66 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#define AUDIO_MIXER_DAC_PWM_DAC 1 |
Definition at line 65 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#define AUDIO_MIXER_DACS_INTERFACES |
Definition at line 81 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#define AUDIO_MIXER_OUT_OF_SAMPLES_CALLBACK |
Value:
{ \ LED_Toggle(AUDIO_MIXER_UNDERRUN_LED); \ }
Definition at line 163 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#define AUDIO_MIXER_OVERRUN_CALLBACK |
Value:
{ \ LED_Toggle(AUDIO_MIXER_OVERRUN_LED); \ }
Definition at line 176 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#define AUDIO_MIXER_OVERRUN_LED LED2 |
Definition at line 159 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#define AUDIO_MIXER_RELOAD_CALLBACK |
Value:
{ \
if (usb_stream_get_status() & USB_STREAM_STATUS_IDLE && \
!(usb_stream_get_status() & USB_STREAM_STATUS_DATA_PROCESSING)) \
usb_stream_task(); \
}
Definition at line 169 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#define AUDIO_MIXER_UNDERRUN_LED LED3 |
Definition at line 160 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#define SPEAKER_VOL_MAX AIC23B_HP_VOL_MAX |
Definition at line 207 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
Referenced by audio_speaker_set_volume(), and volume_usb_to_appli().
#define SPEAKER_VOL_MIN AIC23B_HP_VOL_MIN |
Definition at line 206 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
Referenced by audio_speaker_set_mute(), audio_speaker_set_volume(), and volume_usb_to_appli().
#define SPEAKER_VOL_RES 1 |
Definition at line 208 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#define USB_STREAM_OVERRUN_CALLBACK | ( | ) | AUDIO_MIXER_OVERRUN_CALLBACK |
Definition at line 181 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.