table of contents
other versions
- trixie 3.2.10+ds-1
- testing 3.4.20+ds-1
- unstable 3.4.20+ds-1
- experimental 3.5~git20261111~e7a4fa6+ds-1
| SDL_HINT_AUDIO_CHANNELS(3) | SDL3 FUNCTIONS | SDL_HINT_AUDIO_CHANNELS(3) |
NAME¶
SDL_HINT_AUDIO_CHANNELS - A variable controlling the default audio channel count.
SYNOPSIS¶
#include <SDL3/SDL_hints.h>
#define SDL_HINT_AUDIO_CHANNELS "SDL_AUDIO_CHANNELS"
DESCRIPTION¶
If the application doesn't specify the audio channel count when opening the device, this hint can be used to specify a default channel count that will be used. If the application didn't specify and this hint isn't set, SDL will choose a reasonable value.
This hint should be set before an audio device is opened.
AVAILABILITY¶
This hint is available since SDL 3.2.0.
| SDL 3.5.0 | Simple Directmedia Layer |