SDL_HINT_AUDIO_DUMMY_TIMESCALE(3)

SDL_HINT_AUDIO_DUMMY_TIMESCALE3

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

Usage

#include "SDL3/SDL.h"

#define SDL_HINT_AUDIO_DUMMY_TIMESCALE SDL_AUDIO_DUMMY_TIMESCALE"

Header file

Defined in SDL3/SDL_hints.h

Overview

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.

Availability

This hint is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.