aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-12-18 18:02:48 -0800
committerChris Robinson <[email protected]>2023-12-18 18:05:15 -0800
commitbfb35cec8a777e046b8e14e20d88cda74ed2daf5 (patch)
tree786fa9c632d558114766a2e4134b8d0ef65dd8c9 /alc/backends
parentcce4c81282ee5434d707458a9e061a6fcd1189d5 (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/backends')
-rw-r--r--alc/backends/oboe.cpp1
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.
*/