Constant AUDIO_ALSA_DEFAULT_DEVICE

pub const AUDIO_ALSA_DEFAULT_DEVICE: &'static str;
Available on crate feature dep_sdl3 only.
Expand description

Specify the default ALSA audio device name.

This variable is a specific audio device to open when the “default” audio device is used.

This hint will be ignored when opening the default playback device if AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE is set, or when opening the default recording device if AUDIO_ALSA_DEFAULT_RECORDING_DEVICE is set.

This hint should be set before an audio device is opened.

§Availability

This hint is available since SDL 3.2.0.

§See also