Scroll to navigation

SDL_HINT_AUDIO_DUMMY_TIMESCALE(3) SDL3 FUNCTIONS SDL_HINT_AUDIO_DUMMY_TIMESCALE(3)

NAME

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

HEADER FILE

Defined in SDL3/SDL_hints.h

SYNOPSIS

#include "SDL3/SDL.h"
#define SDL_HINT_AUDIO_DUMMY_TIMESCALE SDL_AUDIO_DUMMY_TIMESCALE"

DESCRIPTION

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.1.3.

SDL 3.1.6 Simple Directmedia Layer