unplugged-system/external/oboe/samples/minimaloboe
2025-10-06 13:59:42 +00:00
..
src/main Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
build.gradle Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
proguard-rules.pro Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.md Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

Minimal Oboe

Overview

This app is a very simple demonstration of turning on audio from buttons. It uses a low-latency Oboe stream.

Implementation

The app is written using Kotlin and Jetpack Compose.

The app state is maintained by subclassing DefaultLifecycleObserver. Oboe is called through an external native function.

This app uses shared_ptr for passing callbacks to Oboe. When the stream is disconnected, it starts a new stream.