diff options
author | Liam <byteslice@airmail.cc> | 2023-12-18 03:05:00 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-12-18 03:05:00 +0100 |
commit | 797e8fdbc3b6a9220544596099ceddea0739e31c (patch) | |
tree | bd7706e6157403143f6cbc1b97c253c019d35a02 /src | |
parent | android: add oboe to audio configuration (diff) | |
download | yuzu-797e8fdbc3b6a9220544596099ceddea0739e31c.tar yuzu-797e8fdbc3b6a9220544596099ceddea0739e31c.tar.gz yuzu-797e8fdbc3b6a9220544596099ceddea0739e31c.tar.bz2 yuzu-797e8fdbc3b6a9220544596099ceddea0739e31c.tar.lz yuzu-797e8fdbc3b6a9220544596099ceddea0739e31c.tar.xz yuzu-797e8fdbc3b6a9220544596099ceddea0739e31c.tar.zst yuzu-797e8fdbc3b6a9220544596099ceddea0739e31c.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/audio_core/sink/oboe_sink.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio_core/sink/oboe_sink.cpp b/src/audio_core/sink/oboe_sink.cpp index c502205e1..8143b0db6 100644 --- a/src/audio_core/sink/oboe_sink.cpp +++ b/src/audio_core/sink/oboe_sink.cpp @@ -67,6 +67,7 @@ public: oboe::AudioStreamBuilder builder; const auto result = builder.setDirection(direction) + ->setPerformanceMode(oboe::PerformanceMode::LowLatency) ->setSampleRate(TargetSampleRate) ->setFormat(oboe::AudioFormat::I16) ->setFormatConversionAllowed(true) @@ -136,6 +137,7 @@ private: oboe::AudioStreamBuilder builder; const auto result = builder.setDirection(direction) + ->setPerformanceMode(oboe::PerformanceMode::LowLatency) ->setSampleRate(TargetSampleRate) ->setChannelCount(expected_channels) ->setChannelMask(expected_mask) |