Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Commit

Permalink
Merge pull request #49 from googlesamples/api-level-check
Browse files Browse the repository at this point in the history
Force to android-O target for AAudio sample
  • Loading branch information
ggfan committed May 22, 2017
2 parents fafa30c + 63f2f65 commit a8ac977
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions aaudio/README.md
Expand Up @@ -7,8 +7,9 @@ These samples demonstrate how to use AAudio API:
[AAudio](https://android-dot-devsite.googleplex.com/ndk/guides/audio/aaudio/aaudio.html) is still in its early stage of development, this [android-ndk thread](https://groups.google.com/forum/#!topic/android-ndk/Ox7L8V5ZF5s) addresses some of the possible questions surrounding the new API.

Pre-requisites
-----------
* Android Device with recording capability, running Android O DP2 or above (Developer's Preivew) API
-------------
* Android Device with recording capability
* Android O DP2 or above (Developer's Preivew) API
* An external headphone (with a microphone) plugged into Android Device
* NDK-r15 [Beta2](https://developer.android.com/ndk/downloads/index.html) and above
* [Android Studio 2.3.0+](https://developer.android.com/studio/index.html)
Expand Down
6 changes: 3 additions & 3 deletions aaudio/echo/build.gradle
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 25
compileSdkVersion 'android-O'
buildToolsVersion '25.0.2'

defaultConfig {
applicationId 'com.google.sample.com.google.sample.aaudio.echo'
minSdkVersion 25
targetSdkVersion 25
minSdkVersion 'android-O'
targetSdkVersion 'android-O'
versionCode 1
versionName '1.0'
ndk {
Expand Down
6 changes: 3 additions & 3 deletions aaudio/hello-aaudio/build.gradle
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 25
compileSdkVersion 'android-O'
buildToolsVersion '25.0.2'

defaultConfig {
applicationId 'com.google.sample.com.google.sample.aaudio.play'
minSdkVersion 25
targetSdkVersion 25
minSdkVersion 'android-O'
targetSdkVersion 'android-O'
versionCode 1
versionName '1.0'
ndk {
Expand Down

0 comments on commit a8ac977

Please sign in to comment.