mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-21 04:08:27 +00:00
Added SDL_HINT_AUDIO_DUMMY_TIMESCALE
This commit is contained in:
parent
5aa1a48ac3
commit
71574ac985
3 changed files with 38 additions and 20 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue