Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# Mixer

`lib_xua` supports audio mixing functionality with highly flexible routing options.

Essentially the mixer is capable of performing 8 separate mixes with up to 18 inputs at sample rates up to 96kHz and 2 mixes with up to 18 inputs at higher sample rates.

Inputs to the mixer can be selected from any device input (USB, S/PDIF, I2S etc) and outputs from the mixer can be routed to any device output (USB, S/PDIF, I2S etc).

See Digital mixer for full details of the mixer including control.

Basic configuration of mixer functionality is achieved with the the defines Table 25.

Table 25 Mixer defines
Define | Description | Default
--- | --- | ---
`MIXER` | Enable mixer | `0` (Disabled)
`MAX_MIX_COUNT` | Number of separate mix outputs to perform | `8`
`MIX_INPUTS` | Number of channels input into the mixer | `18`

Note

The mixer threads always run on the tile defined by `AUDIO_IO_TILE`