• Home
Name Date Size #Lines LOC

..--

LiveEffect/12-May-2024-1,5371,066

MegaDrone/12-May-2024-847614

RhythmGame/12-May-2024-55,97037,065

audio-device/12-May-2024-499312

debug-utils/12-May-2024-16788

drumthumper/12-May-2024-2,2941,787

gradle/wrapper/12-May-2024-76

hello-oboe/12-May-2024-1,470931

iolib/12-May-2024-884488

parselib/12-May-2024-1,088522

shared/12-May-2024-477218

.gitignoreD12-May-2024129 1110

README.mdD12-May-20242.5 KiB5745

build.gradleD12-May-20241.2 KiB4336

gradle.propertiesD12-May-20241.5 KiB3832

gradlewD12-May-20244.9 KiB161120

gradlew.batD12-May-20242.3 KiB9166

settings.gradleD12-May-2024791 2624

README.md

1Oboe Samples
2==============
3These samples demonstrate how to use the Oboe library:
4
51. [hello-oboe](hello-oboe): creates an output (playback) stream and plays a
6sine wave when you tap the screen
71. [RhythmGame](RhythmGame): A simple rhythm game where you copy the clap patterns you hear by tapping on the screen
81. [MegaDrone](MegaDrone): A one hundred oscillator synthesizer, demonstrates low latency and CPU performance
91. [LiveEffect](LiveEffect): loops audio from input stream to output stream to demonstrate duplex capability
10
11Pre-requisites
12-------------
13* Android device or emulator running API 16 (Jelly Bean) or above
14* [Android SDK 26](https://developer.android.com/about/versions/oreo/android-8.0-migration.html#ptb)
15* [NDK r17](https://developer.android.com/ndk/downloads/index.html) or above
16* [Android Studio 2.3.0+](https://developer.android.com/studio/index.html)
17
18Getting Started
19---------------
201. [Install Android Studio](https://developer.android.com/studio/index.html)
211. Import the sample project into Android Studio
22    - File -> New -> Import Project
23    - Browse to oboe/samples/build.gradle
24    - Click "OK"
251. Click Run, click on the sample you wish to run
26
27Support
28-------
29If you've found an error in these samples, please [file an issue](https://github.com/google/oboe/issues/new).
30
31Patches are encouraged, and may be submitted by [forking this project](https://github.com/google/oboe/fork) and
32submitting a pull request through GitHub. Please see [CONTRIBUTING.md](../CONTRIBUTING.md) for more details.
33
34- [Stack Overflow](http://stackoverflow.com/questions/tagged/android-ndk)
35- [Google+ Community](https://plus.google.com/communities/105153134372062985968)
36- [Android Tools Feedback](http://tools.android.com/feedback)
37
38
39License
40-------
41Copyright 2017 Google, Inc.
42
43Licensed to the Apache Software Foundation (ASF) under one or more contributor
44license agreements.  See the NOTICE file distributed with this work for
45additional information regarding copyright ownership.  The ASF licenses this
46file to you under the Apache License, Version 2.0 (the "License"); you may not
47use this file except in compliance with the License.  You may obtain a copy of
48the License at
49
50http://www.apache.org/licenses/LICENSE-2.0
51
52Unless required by applicable law or agreed to in writing, software
53distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
54WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
55License for the specific language governing permissions and limitations under
56the License.
57