SDL_HINT_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE

Specify the default ALSA audio recording device name.

Header File

Defined in SDL3/SDL_hints.h

Synopsis

#include "SDL3/SDL.h"

#define SDL_HINT_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE SDL_AUDIO_ALSA_DEFAULT_RECORDING_DEVICE"

Description

This variable is a specific audio device to open for recording, 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.

Availability

This hint is available since SDL 3.2.0.

See Also

·(3), SDL_HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE(3), ·(3), SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE(3)

Referenced By

SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE(3), SDL_HINT_AUDIO_ALSA_DEFAULT_PLAYBACK_DEVICE(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS