Definition in file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#include "board.h"
#include "conf_audio_player.h"
#include "tpa6130.h"
#include "usb_stream_player.h"
Go to the source code of this file.
Defines | |
#define | AUDIO_MIXER_OUT_OF_SAMPLES_CALLBACK |
#define | AUDIO_MIXER_OVERRUN_CALLBACK |
#define | AUDIO_MIXER_RELOAD_CALLBACK |
#define | SPEAKER_VOL_MAX 63 |
#define | SPEAKER_VOL_MIN 0 |
#define | SPEAKER_VOL_RES 1 |
#define | USB_STREAM_OVERRUN_CALLBACK() AUDIO_MIXER_OVERRUN_CALLBACK |
DACs Bit-Masks | |
#define | AUDIO_MIXER_DAC_ABDAC 1 |
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 1 |
Definition at line 70 of file AUDIO_EXAMPLE_ADAPTIF_SRC/conf_audio_mixer.h.
#define AUDIO_MIXER_DACS_INTERFACES |
Value:
{ \ { \ tpa6130_dac_start, \ tpa6130_dac_setup, \ tpa6130_dac_output, \ NULL, \ tpa6130_dac_increase_volume, \ tpa6130_dac_decrease_volume, \ tpa6130_dac_get_volume, \ tpa6130_dac_set_volume, \ tpa6130_dac_is_volume_muted, \ tpa6130_dac_is_volume_boosted, \ tpa6130_dac_flush, \ tpa6130_dac_stop, \ tpa6130_dac_mute \ } \ }
Definition at line 130 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 63 |
Definition at line 199 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 0 |
Definition at line 198 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 200 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.