AudioOut
The sound device: what reaches `input` is heard, times `gain`.
`channels` names the device channels it lands on, the first incoming channel on the first channel named, so two AudioOuts can hold different pairs of one card.
Every AudioOut on the device sums.
input
- Type name
audio:AudioOut- Plane
audio- Tags
output- Language
rust- Tier
native- Source
- compiled into the engine
- Availability
- available
Slots
| Slot | Direction | Type | |
|---|---|---|---|
input | input | AUDIO | accepts several cables |
Parameters
audio
| Name | Type | Default | Range | Doc |
|---|---|---|---|---|
device | string | default | default | the output device the engine's clock follows; every AudioOut names the same one refreshable |
channels | string | all | which of the device's channels to use, counting from 1 as the device labels them: `1`, `1-2`, `3-4`, `1,3-4`, or `all` for every channel. A range may count down — `4-3` is channel 4 then channel 3 — and the order written is the order used. WASAPI publishes a card as stereo endpoints, so a selection past `1-2` usually means naming the card's `ASIO: ` device. | |
gain | float | 1 | 0 … 10 |
Source
AudioOut is built into the audio engine rather than loaded from a file, so there is no source to copy.