xref: /aosp_15_r20/external/oboe/samples/minimaloboe/README.md (revision 05767d913155b055644481607e6fa1e35e2fe72c)
1*05767d91SRobert Wu# Minimal Oboe
2*05767d91SRobert Wu
3*05767d91SRobert Wu## Overview
4*05767d91SRobert Wu
5*05767d91SRobert WuThis app is a very simple demonstration of turning on audio from buttons.
6*05767d91SRobert WuIt uses a low-latency Oboe stream.
7*05767d91SRobert Wu
8*05767d91SRobert Wu## Implementation
9*05767d91SRobert Wu
10*05767d91SRobert WuThe app is written using Kotlin and Jetpack Compose.
11*05767d91SRobert Wu
12*05767d91SRobert WuThe app state is maintained by subclassing DefaultLifecycleObserver.
13*05767d91SRobert WuOboe is called through an external native function.
14*05767d91SRobert Wu
15*05767d91SRobert WuThis app uses shared_ptr for passing callbacks to Oboe.
16*05767d91SRobert WuWhen the stream is disconnected, it starts a new stream.
17*05767d91SRobert Wu
18*05767d91SRobert Wu## Screenshots
19*05767d91SRobert Wu![minimaloboe-screenshot](minimaloboe-screenshot.png)
20