Skip to content

Commit

Permalink
Sync SDL3 header -> wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
SDLWikiBot committed Nov 8, 2024
1 parent d110d4c commit e805fd8
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions SDL3/SDL_HINT_ANDROID_LOW_LATENCY_AUDIO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
###### (This is the documentation for SDL3, which is the current stable version. [SDL2](https://wiki.libsdl.org/SDL2/) was the previous version!)
# SDL_HINT_ANDROID_LOW_LATENCY_AUDIO

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

## Header File

Defined in [<SDL3/SDL_hints.h>](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_hints.h)

## Syntax

```c
#define SDL_HINT_ANDROID_LOW_LATENCY_AUDIO "SDL_ANDROID_LOW_LATENCY_AUDIO"
```
## Remarks
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.
## Version
This hint is available since SDL 3.1.8.
----
[CategoryAPI](CategoryAPI), [CategoryAPIMacro](CategoryAPIMacro), [CategoryHints](CategoryHints)

0 comments on commit e805fd8

Please sign in to comment.