conf_audio_mixer.h File Reference


Detailed Description

Audio mixer configuration file.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

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 Documentation

#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

#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

#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


Generated on Fri Feb 19 02:32:02 2010 for AVR32 - USB AUDIO Example by  doxygen 1.5.5