Lines Matching refs:oboe
52 if (result == oboe::Result::OK) { in getCurrentOutputLatencyMillis()
53 oboe::FrameTimestamp playedFrame = result.value(); in getCurrentOutputLatencyMillis()
59 … int64_t frameTimeDelta = (frameIndexDelta * oboe::kNanosPerSecond) / (mStream->getSampleRate()); in getCurrentOutputLatencyMillis()
69 LOGE("Error calculating latency: %s", oboe::convertToText(result.error())); in getCurrentOutputLatencyMillis()
88 void HelloOboeEngine::setAudioApi(oboe::AudioApi audioApi) { in setAudioApi()
100 if (reopenStream() != oboe::Result::OK) { in setDeviceId()
102 mDeviceId = oboe::Unspecified; in setDeviceId()
114 oboe::Result HelloOboeEngine::createPlaybackStream() { in createPlaybackStream()
115 oboe::AudioStreamBuilder builder; in createPlaybackStream()
116 return builder.setSharingMode(oboe::SharingMode::Exclusive) in createPlaybackStream()
117 ->setPerformanceMode(oboe::PerformanceMode::LowLatency) in createPlaybackStream()
118 ->setFormat(oboe::AudioFormat::Float) in createPlaybackStream()
133 oboe::Result HelloOboeEngine::start() { in start()
137 if (result == oboe::Result::OK){ in start()
143 oboe::Result::ErrorUnimplemented); in start()
150 LOGE("Error creating playback stream. Error: %s", oboe::convertToText(result)); in start()
166 oboe::Result HelloOboeEngine::reopenStream() { in reopenStream()