17 #define AUDIO_OUT_BUFFER_SIZE 2*AUDIO_TOTAL_BUF_SIZE #define AUDIO_OUT_BUFFER_SIZE
void AUDIO_Player_IncHeartbeat(void)
Increment the audio reception counter (heartbeat)
void AUDIO_PLAYER_ReleaseClock(int trig)
AUDIO_ErrorTypeDef AUDIO_PLAYER_Start(void)
Starts Audio streaming.
AUDIO_ErrorTypeDef AUDIO_PLAYER_Init(int outSelection, int sampleFreq)
Initializes Audio Interface.
AUDIO_ErrorTypeDef AUDIO_PLAYER_Stop(void)
Stops Audio streaming.
AUDIO_ErrorTypeDef AUDIO_PLAYER_Process(void)
Manages Audio process.
unsigned long AUDIO_Player_GetHeartbeat(void)
Get the counter (heartbeat) if we have audio reception.
void AUDIO_Player_QueueBuf(uint8_t *buf, int len)
Put the Network Audio samples into SAI output buffer.
int AUDIO_PLAYER_GetState(void)
void AUDIO_Player_UDANTERestart(void)
Restart and sync audio for Network Audio.
header file for the usbd_audio.c file.
int AUDIO_PLAYER_GetBuffer(uint8_t **out_BufAddr)
void AUDIO_PLAYER_Restart(void)
int AUDIO_PLAYER_GetClock(void)
void AUDIO_Player_CpyBuf(uint8_t *buf)
Copy USB input buffer to SAI output buffer.
volatile BUFFER_StateTypeDef state