mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 08:51:52 +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
ae68009f9b
commit
f983b701c8
@ -11,6 +11,8 @@ namespace skyline::audio {
|
|||||||
builder.setFramesPerCallback(constant::MixBufferSize);
|
builder.setFramesPerCallback(constant::MixBufferSize);
|
||||||
builder.setUsage(oboe::Usage::Game);
|
builder.setUsage(oboe::Usage::Game);
|
||||||
builder.setCallback(this);
|
builder.setCallback(this);
|
||||||
|
builder.setSharingMode(oboe::SharingMode::Exclusive);
|
||||||
|
builder.setPerformanceMode(oboe::PerformanceMode::LowLatency);
|
||||||
|
|
||||||
builder.openManagedStream(outputStream);
|
builder.openManagedStream(outputStream);
|
||||||
outputStream->requestStart();
|
outputStream->requestStart();
|
||||||
|
Loading…
Reference in New Issue
Block a user