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_DEVICE - Specify the default ALSA audio device name.

Availability

       This hint is available since SDL 3.2.0.

Description

       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
       SDL_HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE is set, or when  opening  the  default  recording  device  if
       SDL_HINT_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE is set.

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

Name

       SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE - Specify the default ALSA audio device name.

See Also

SDL_HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE(3), SDL_HINT_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE(3)

Simple Directmedia Layer                           SDL 3.2.20              SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE(3)

Synopsis

#include<SDL3/SDL_hints.h>#defineSDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE"SDL_AUDIO_ALSA_DEFAULT_DEVICE"

See Also