mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
Added SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE
This commit is contained in:
parent
71574ac985
commit
f05cd85048
2 changed files with 12 additions and 1 deletions
|
@ -197,6 +197,17 @@ extern "C" {
|
|||
*/
|
||||
#define SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION "SDL_APPLE_TV_REMOTE_ALLOW_ROTATION"
|
||||
|
||||
/**
|
||||
* Specify the default ALSA audio device name.
|
||||
*
|
||||
* This variable is a specific audio device to open when the "default" audio device is used. By default if 4 channel audio is requested, the "plug:surround40" device will be opened and if 6 channel audio is requested the "plug:surround51" device will be opened.
|
||||
*
|
||||
* This hint should be set before an audio device is opened.
|
||||
*
|
||||
* \since This hint is available since SDL 3.0.0.
|
||||
*/
|
||||
#define SDL_HINT_AUDIO_ALSA_DEFAULT_DEVICE "SDL_AUDIO_ALSA_DEFAULT_DEVICE"
|
||||
|
||||
/**
|
||||
* A variable controlling the audio category on iOS and macOS.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue