mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-01 23:48:29 +00:00
Added SDL_HINT_AUDIO_DUMMY_TIMESCALE
This commit is contained in:
@@ -338,6 +338,17 @@ extern "C" {
|
||||
*/
|
||||
#define SDL_HINT_AUDIO_DRIVER "SDL_AUDIO_DRIVER"
|
||||
|
||||
/**
|
||||
* A variable controlling the audio rate when using the dummy audio driver.
|
||||
*
|
||||
* The dummy audio driver normally simulates real-time for the audio rate that was specified, but you can use this variable to adjust this rate higher or lower down to 0. The default value is "1.0".
|
||||
*
|
||||
* 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_DUMMY_TIMESCALE "SDL_AUDIO_DUMMY_TIMESCALE"
|
||||
|
||||
/**
|
||||
* A variable controlling the default audio format.
|
||||
*
|
||||
|
Reference in New Issue
Block a user