文件最后提交记录最后更新时间
Samples: Update to Android 36 (#2257) * Samples: Update to Android 36 * Samples: Update to Android 369 个月前
add new lines (#1700) 3 年前
Samples: Update to Android 36 (#2257) * Samples: Update to Android 36 * Samples: Update to Android 369 个月前
Up to date screenshot which shows API and channel count selection 7 年前
Moving samples from high-performance repo to here 8 年前
README.md

Hello Oboe

Creates an output (playback) stream and plays a sine wave when you tap the screen.

Here's an overview of the UI:

Audio API: Leave as "Unspecified" to select the best audio API for the current API level, or select AAudio or OpenSL ES to force the use of that API. AAudio is only available on Android API 26 and above.

Audio device: Choose the audio device, or leave as "Automatic" to use the default device. The list of audio devices is automatically updated when devices (e.g. headphones, USB audio devices) are added or removed.

Channel count: Choose the number of audio channels to output. A different pitched sine wave will be played through each of the channels.

Buffer size: Choose the buffer size in bursts. A burst is an array of audio frames read by the audio device in a single operation and typically represents the minimum possible buffer size.

Latency: Shows the average latency of the audio stream between data entering the stream and it being presented to the audio device. This latency figure is only as accurate as the timestamps being reported by the audio device to the Android audio framework. It does not include any latency introduced after the audio device (e.g. echo cancellation for the built-in speaker). Only available on API 26+.

Screenshots

hello-oboe-screenshot