diff options
author | Chris Robinson <[email protected]> | 2023-12-18 18:02:48 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-12-18 18:05:15 -0800 |
commit | bfb35cec8a777e046b8e14e20d88cda74ed2daf5 (patch) | |
tree | 786fa9c632d558114766a2e4134b8d0ef65dd8c9 /alc | |
parent | cce4c81282ee5434d707458a9e061a6fcd1189d5 (diff) |
Set Oboe usage to Game
OpenAL isn't only for games, but this seems to be the setting for interactive
low-latency audio.
Diffstat (limited to 'alc')
-rw-r--r-- | alc/backends/oboe.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alc/backends/oboe.cpp b/alc/backends/oboe.cpp index 1076bc8d..d55a7066 100644 --- a/alc/backends/oboe.cpp +++ b/alc/backends/oboe.cpp @@ -81,6 +81,7 @@ bool OboePlayback::reset() oboe::AudioStreamBuilder builder; builder.setDirection(oboe::Direction::Output); builder.setPerformanceMode(oboe::PerformanceMode::LowLatency); + builder.setUsage(oboe::Usage::Game); /* Don't let Oboe convert. We should be able to handle anything it gives * back. */ |