logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_HINT_AUDIO_DISK_TIMESCALE - A variable controlling the audio rate when using the disk audio driver.

Availability

       This hint is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                   SDL_HINT_AUDIO_DISK_TIMESCALE(3)

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.

Name

       SDL_HINT_AUDIO_DISK_TIMESCALE - A variable controlling the audio rate when using the disk audio driver.

Synopsis

#include<SDL3/SDL_hints.h>#defineSDL_HINT_AUDIO_DISK_TIMESCALE"SDL_AUDIO_DISK_TIMESCALE"

See Also