-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d110d4c
commit e805fd8
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||