
USB Audio Design Guide 24/61
To get the audio from the analogue inputs to outputs 1 and 2, nodes 80 and 89
need to be set:
./ xmos_mixer --set - value 0 80 0
./ xmos_mixer --set - value 0 89 0
At the same time, the original mixer outputs can be muted:
./ xmos_mixer --set - value 0 0 - inf
./ xmos_mixer --set - value 0 9 - inf
Now audio inputs on analogue 1/2 should be heard on outputs 1/2.
As mentioned above, the flexibility of the mixer is such that there will be multiple
ways to create a particular mix. Another option to create the same routing would be
to change the mixer sources such that mixer 1/2 outputs come from the analogue
inputs.
To demonstrate this, firstly undo the changes above:
./ xmos_mixer --set - value 0 80 - inf
./ xmos_mixer --set - value 0 89 - inf
./ xmos_mixer --set - value 0 0 0
./ xmos_mixer --set - value 0 9 0
The mixer should now have the default values. The sources for mixer 1/2 can now
be changed:
./ xmos_mixer --set - mixer - source 0 0 10
./ xmos_mixer --set - mixer - source 0 1 11
If you rerun:
./ xmos_mixer --display - mixer - nodes 0
the first column now has AUD - Analogue 1 and 2 rather than DAW - Analogue 1
and 2 confirming the new mapping. Again, by playing audio into analogue inputs
1/2 this can be heard looped through to analogue outputs 1/2.
3.10 S/PDIF Transmit
XS1 devices can support S/PDIF transmit up to 192kHz. The S/PDIF transmitter
uses a lookup table to encode the audio data. It receives samples from the Audio
core two at a time, one for each channel. For each sample, it performs a lookup on
each byte, generating 16 bits of encoded data which it outputs to the port.
S/PDIF sends data in frames, each containing 192 samples of the left and right
channels.
REV 6.1
Comentarios a estos manuales