Constant AUDIO_DISK_TIMESCALE

pub const AUDIO_DISK_TIMESCALE: &'static str;
Available on crate feature dep_sdl3 only.
Expand description

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

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.