logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE - Specify the default ALSA audio playback device name.

Availability

       This hint is available since SDL 3.2.0.

Description

       This variable is a specific audio device to open for playback, when the "default" audio device is used.

       If this hint isn't set, SDL will check

       SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE

       before choosing a reasonable default.

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

Header File

       Defined in SDL3/SDL_hints.h

Name

       SDL_HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE - Specify the default ALSA audio playback device name.

See Also

(3), SDL_HINT_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE(3), (3), SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE(3)

Simple Directmedia Layer                           SDL 3.2.10     SDL_HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE(3)

Synopsis

#include"SDL3/SDL.h"#defineSDL_HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICESDL_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE"

See Also