Constant ANDROID_LOW_LATENCY_AUDIO

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

A variable to control whether low latency audio should be enabled.

Some devices have poor quality output when this is enabled, but this is usually an improvement in audio latency.

The variable can be set to the following values:

  • “0”: Low latency audio is not enabled.
  • “1”: Low latency audio is enabled. (default)

This hint should be set before SDL audio is initialized.

§Availability

This hint is available since SDL 3.2.0.