mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-16 23:09:17 +01:00
Fix BT Audio Stuttering Issues
This fixes audio stuttering which occurred on certain BT audio devices by requesting an exclusive stream from Oboe alongside a low-latency stream. Co-authored-by: Billy Laws <blaws05@gmail.com>
This commit is contained in:
parent
b0e53d4aad
commit
1c5281eb0e
@ -11,6 +11,8 @@ namespace skyline::audio {
|
||||
builder.setFramesPerCallback(constant::MixBufferSize);
|
||||
builder.setUsage(oboe::Usage::Game);
|
||||
builder.setCallback(this);
|
||||
builder.setSharingMode(oboe::SharingMode::Exclusive);
|
||||
builder.setPerformanceMode(oboe::PerformanceMode::LowLatency);
|
||||
|
||||
builder.openManagedStream(outputStream);
|
||||
outputStream->requestStart();
|
||||
|
Loading…
Reference in New Issue
Block a user