Atmel Software Framework

conf_audio_interface.h File Reference
#include "board.h"
#include "conf_audio_player.h"

Macros

#define AI_ASYNC_STACK_NB_ELEMENTS   1
 Number of elements in the context stack for asynchronous commands. More...
 
#define AI_DEFAULT_REPEAT_MODE   AUDIO_REPEAT_ALL
 Defines default repeat and shuffle modes. More...
 
#define AI_DEFAULT_SHUFFLE_MODE   AUDIO_SHUFFLE_OFF
 
#define AI_SYNC_TASK_CALL_BACK()
 Audio Interface call back used for synchronous commands. More...
 
#define CHANGE_TRACK_ON_SHUFFLE   DISABLE
 Select and play a new track once shuffle is on. More...
 
#define PAUSE_ON_TRACK_CHANGED   true
 Automatically pause new track played. More...
 
#define STRING_MAX_LENGTH   64
 Maximal string length in bytes. More...
 

#define AI_ASYNC_STACK_NB_ELEMENTS   1

Number of elements in the context stack for asynchronous commands.

Referenced by ai_async_cmd_task(), ai_async_context_pop(), ai_async_update_cmd_status(), and ai_init().

#define AI_DEFAULT_REPEAT_MODE   AUDIO_REPEAT_ALL

Defines default repeat and shuffle modes.

Referenced by ai_usb_ms_new_connection().

#define AI_DEFAULT_SHUFFLE_MODE   AUDIO_SHUFFLE_OFF
#define AI_SYNC_TASK_CALL_BACK ( )

Audio Interface call back used for synchronous commands.

When using synchronous commands, the audio interface API will wait for the full completion of the command. During that active wait, the call back is called. This allows respecting real time constraints depending the application.

#define CHANGE_TRACK_ON_SHUFFLE   DISABLE

Select and play a new track once shuffle is on.

#define PAUSE_ON_TRACK_CHANGED   true

Automatically pause new track played.

This option allows to read metadata before starting playback in order to avoid skipping audio while reading metadata.

#define STRING_MAX_LENGTH   64

Maximal string length in bytes.

Referenced by ai_usb_ms_read_string().