From bfb35cec8a777e046b8e14e20d88cda74ed2daf5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 18 Dec 2023 18:02:48 -0800 Subject: Set Oboe usage to Game OpenAL isn't only for games, but this seems to be the setting for interactive low-latency audio. --- alc/backends/oboe.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'alc/backends') 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. */ -- cgit v1.2.3