Audio Streaming Functions; Host Active - XMOS xCORE-200 Multi-channel Audio board Design Manual

Usb audio
Hide thumbs Also See for xCORE-200 Multi-channel Audio board:
Table of Contents

Advertisement

USB Audio Design Guide
Type
void AudioHwConfig(unsigned samFreq,
Parameters
samFreq
mclk
c_codec
dsdMode
sampRes_DAC
sampRes_ADC

7.2.2 Audio Streaming Functions

The following functions can be optionally used by the design. They can be useful for mute lines
etc.
Function
AudioStreamStart
This function is called when the audio stream from device to host starts.
Description
Type
void AudioStreamStart(void)
Function
AudioStreamStop
Description
This function is called when the audio stream from device to host stops.
Type
void AudioStreamStop(void)

7.2.3 Host Active

The following function can be used to signal that the device is connected to a valid host.
XM0088546.1
unsigned mclk,
chanend ?c_codec,
unsigned dsdMode,
unsigned sampRes_DAC,
unsigned sampRes_ADC)
The sample frequency in Hz that the hardware should be config-
ured to (in Hz).
The master clock frequency that is required in Hz.
An optional chanend that was original passed into
can be used to communicate with other cores.
Signifies if the audio hardware should be configured for DSD
operation
The sample resolution of the DAC stream
The sample resolution of the ADC stream
101/110
audio()
that

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents