SDL_HINT_AUDIO_DISK_TIMESCALE - Man Page
A variable controlling the audio rate when using the disk audio driver.
Header File
Defined in SDL3/SDL_hints.h
Synopsis
#include "SDL3/SDL.h" #define SDL_HINT_AUDIO_DISK_TIMESCALE SDL_AUDIO_DISK_TIMESCALE"
Description
The disk 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.
Availability
This hint is available since SDL 3.2.0.
Info
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS