feat: detect steps and play audio

This commit is contained in:
2026-03-04 01:31:35 +01:00
parent 804f83340f
commit e22478445d
18 changed files with 435 additions and 17 deletions

View File

@@ -37,7 +37,7 @@ public:
std::lock_guard<std::mutex> lock(mLock);
oboe::AudioStreamBuilder builder;
// The builder set methods can be chained for convenience.
Result result = builder.setSharingMode(oboe::SharingMode::Exclusive)
Result result = builder.setSharingMode(oboe::SharingMode::Shared)
->setPerformanceMode(oboe::PerformanceMode::LowLatency)
->setChannelCount(kChannelCount)
->setSampleRate(kSampleRate)