Skip to content

Commit

Permalink
Do the conversion in Oboe to try to get a low latency stream
Browse files Browse the repository at this point in the history
  • Loading branch information
vkedwardli authored and flyinghead committed Jun 30, 2024
1 parent f6c1503 commit c1f5f2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/audio/audiobackend_oboe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class OboeBackend : AudioBackend
->setFormat(oboe::AudioFormat::I16)
->setChannelCount(oboe::ChannelCount::Stereo)
->setSampleRate(44100)
->setSampleRateConversionQuality(oboe::SampleRateConversionQuality::High)
->setFramesPerCallback(SAMPLE_COUNT)
->setDataCallback(&audioCallback)
->setErrorCallback(&errorCallback)
Expand Down

0 comments on commit c1f5f2e

Please sign in to comment.