Request AudioReQuest N.Series Manuál Strana 22

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 62
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 21
USB Audio Design Guide 22/61
Since the sum of these inputs may be more then the 18 possible mix inputs to
each mixer, there is a mapping from all the possible inputs to the mixer inputs.
After the mix occurs, the final outputs are created. There are two output destina-
tions:
· The USB inputs to the host—these samples are sent to the decoupler.
·
The outputs to the audio interface on the device—these samples are sent to the
audio driver.
For each possible output, a mapping exists to tell the mixer what its source is.
The possible sources are the USB outputs from the host, the inputs for the audio
interface or the outputs from the mixer units.
As mentioned in §3.5.5, the mixer can also handle volume setting. If the mixer
is configured to handle volume but the number of mixes is set to zero (so the
component is solely doing volume setting) then the component will use only one
core.
3.9.1 Control
The mixers can receive the following control commands from the Endpoint 0 core:
Command Description
SET_SAMPLES_TO_HOST_MAP
Sets the source of one of the audio streams going to the
host.
SET_SAMPLES_TO_DEVICE_MAP
Sets the source of one of the audio streams going to the
audio driver.
SET_MIX_MULT Sets the multiplier for one of the inputs to a mixer.
SET_MIX_MAP Sets the source of one of the inputs to a mixer.
SET_MIX_IN_VOL If volume adjustment is being done in the mixer, this
command sets the volume multiplier of one of the USB
audio inputs.
SET_MIX_OUT_VOL If volume adjustment is being done in the mixer, this
command sets the volume multiplier of one of the USB
audio outputs.
Figure 14:
Mixer
Component
Commands
3.9.2 Host Control
The mixer can be controlled from a host PC. XMOS provides a simple command
line based sample application demonstrating how the mixer can be controlled. For
details, consult the README in the host_usb_mixer_control directory.
The main requirements of this control are to
· Set the mapping of input channels into the mixer
· Set the Coefficients for each mixer output of each input
REV 6.1
Zobrazit stránku 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 61 62

Komentáře k této Příručce

Žádné komentáře