Changed package from com.plausible -> com.mobileer
diff --git a/samples/drumthumper/src/main/AndroidManifest.xml b/samples/drumthumper/src/main/AndroidManifest.xml
index 71eb105..ac3abb0 100644
--- a/samples/drumthumper/src/main/AndroidManifest.xml
+++ b/samples/drumthumper/src/main/AndroidManifest.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.plausible.drumthumper">
+ package="com.mobileer.drumthumper">
<application
android:allowBackup="true"
diff --git a/samples/drumthumper/src/main/cpp/DrumPlayerJNI.cpp b/samples/drumthumper/src/main/cpp/DrumPlayerJNI.cpp
index c15cd7c..cc89c94 100644
--- a/samples/drumthumper/src/main/cpp/DrumPlayerJNI.cpp
+++ b/samples/drumthumper/src/main/cpp/DrumPlayerJNI.cpp
@@ -44,7 +44,7 @@
/**
* Native (JNI) implementation of DrumPlayer.setupAudioStreamNative()
*/
-JNIEXPORT void JNICALL Java_com_plausible_drumthumper_DrumPlayer_setupAudioStreamNative(
+JNIEXPORT void JNICALL Java_com_mobileer_drumthumper_DrumPlayer_setupAudioStreamNative(
JNIEnv* env, jobject, jint numChannels, jint sampleRate) {
__android_log_print(ANDROID_LOG_INFO, TAG, "%s", "init()");
@@ -55,7 +55,7 @@
/**
* Native (JNI) implementation of DrumPlayer.teardownAudioStreamNative()
*/
-JNIEXPORT void JNICALL Java_com_plausible_drumthumper_DrumPlayer_teardownAudioStreamNative(JNIEnv* , jobject) {
+JNIEXPORT void JNICALL Java_com_mobileer_drumthumper_DrumPlayer_teardownAudioStreamNative(JNIEnv* , jobject) {
__android_log_print(ANDROID_LOG_INFO, TAG, "%s", "deinit()");
// we know in this case that the sample buffers are all 1-channel, 44.1K
@@ -68,7 +68,7 @@
/**
* Native (JNI) implementation of DrumPlayer.loadWavAssetNative()
*/
-JNIEXPORT void JNICALL Java_com_plausible_drumthumper_DrumPlayer_loadWavAssetNative(JNIEnv* env, jobject, jbyteArray bytearray, jint index, jfloat pan) {
+JNIEXPORT void JNICALL Java_com_mobileer_drumthumper_DrumPlayer_loadWavAssetNative(JNIEnv* env, jobject, jbyteArray bytearray, jint index, jfloat pan) {
int len = env->GetArrayLength (bytearray);
unsigned char* buf = new unsigned char[len];
@@ -91,35 +91,35 @@
/**
* Native (JNI) implementation of DrumPlayer.unloadWavAssetsNative()
*/
-JNIEXPORT void JNICALL Java_com_plausible_drumthumper_DrumPlayer_unloadWavAssetsNative(JNIEnv* env, jobject) {
+JNIEXPORT void JNICALL Java_com_mobileer_drumthumper_DrumPlayer_unloadWavAssetsNative(JNIEnv* env, jobject) {
sDTPlayer.unloadSampleData();
}
/**
* Native (JNI) implementation of DrumPlayer.trigger()
*/
-JNIEXPORT void JNICALL Java_com_plausible_drumthumper_DrumPlayer_trigger(JNIEnv* env, jobject, jint index) {
+JNIEXPORT void JNICALL Java_com_mobileer_drumthumper_DrumPlayer_trigger(JNIEnv* env, jobject, jint index) {
sDTPlayer.triggerDown(index);
}
/**
* Native (JNI) implementation of DrumPlayer.getOutputReset()
*/
-JNIEXPORT jboolean JNICALL Java_com_plausible_drumthumper_DrumPlayer_getOutputReset(JNIEnv*, jobject) {
+JNIEXPORT jboolean JNICALL Java_com_mobileer_drumthumper_DrumPlayer_getOutputReset(JNIEnv*, jobject) {
return sDTPlayer.getOutputReset();
}
/**
* Native (JNI) implementation of DrumPlayer.clearOutputReset()
*/
-JNIEXPORT void JNICALL Java_com_plausible_drumthumper_DrumPlayer_clearOutputReset(JNIEnv*, jobject) {
+JNIEXPORT void JNICALL Java_com_mobileer_drumthumper_DrumPlayer_clearOutputReset(JNIEnv*, jobject) {
sDTPlayer.clearOutputReset();
}
/**
* Native (JNI) implementation of DrumPlayer.restartStream()
*/
-JNIEXPORT void JNICALL Java_com_plausible_drumthumper_DrumPlayer_restartStream(JNIEnv*, jobject) {
+JNIEXPORT void JNICALL Java_com_mobileer_drumthumper_DrumPlayer_restartStream(JNIEnv*, jobject) {
sDTPlayer.resetAll();
if (sDTPlayer.openStream()){
__android_log_print(ANDROID_LOG_INFO, TAG, "openStream successful");
@@ -128,22 +128,22 @@
}
}
-JNIEXPORT void JNICALL Java_com_plausible_drumthumper_DrumPlayer_setPan(
+JNIEXPORT void JNICALL Java_com_mobileer_drumthumper_DrumPlayer_setPan(
JNIEnv *env, jobject thiz, jint index, jfloat pan) {
sDTPlayer.setPan(index, pan);
}
-JNIEXPORT jfloat JNICALL Java_com_plausible_drumthumper_DrumPlayer_getPan(
+JNIEXPORT jfloat JNICALL Java_com_mobileer_drumthumper_DrumPlayer_getPan(
JNIEnv *env, jobject thiz, jint index) {
return sDTPlayer.getPan(index);
}
-JNIEXPORT void JNICALL Java_com_plausible_drumthumper_DrumPlayer_setGain(
+JNIEXPORT void JNICALL Java_com_mobileer_drumthumper_DrumPlayer_setGain(
JNIEnv *env, jobject thiz, jint index, jfloat gain) {
sDTPlayer.setGain(index, gain);
}
-JNIEXPORT jfloat JNICALL Java_com_plausible_drumthumper_DrumPlayer_getGain(
+JNIEXPORT jfloat JNICALL Java_com_mobileer_drumthumper_DrumPlayer_getGain(
JNIEnv *env, jobject thiz, jint index) {
return sDTPlayer.getGain(index);
}
diff --git a/samples/drumthumper/src/main/java/com/google/oboe/sample/drumthumper/DrumPlayer.kt b/samples/drumthumper/src/main/java/com/google/oboe/sample/drumthumper/DrumPlayer.kt
index d411c2f..f905d2a 100644
--- a/samples/drumthumper/src/main/java/com/google/oboe/sample/drumthumper/DrumPlayer.kt
+++ b/samples/drumthumper/src/main/java/com/google/oboe/sample/drumthumper/DrumPlayer.kt
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package com.plausible.drumthumper
+package com.mobileer.drumthumper
import android.content.res.AssetManager
import android.util.Log
diff --git a/samples/drumthumper/src/main/java/com/google/oboe/sample/drumthumper/DrumThumperActivity.kt b/samples/drumthumper/src/main/java/com/google/oboe/sample/drumthumper/DrumThumperActivity.kt
index 3c0db47..2bdbacd 100644
--- a/samples/drumthumper/src/main/java/com/google/oboe/sample/drumthumper/DrumThumperActivity.kt
+++ b/samples/drumthumper/src/main/java/com/google/oboe/sample/drumthumper/DrumThumperActivity.kt
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package com.plausible.drumthumper
+package com.mobileer.drumthumper
import android.content.Context
import android.media.AudioDeviceCallback
diff --git a/samples/drumthumper/src/main/java/com/google/oboe/sample/drumthumper/TriggerPad.kt b/samples/drumthumper/src/main/java/com/google/oboe/sample/drumthumper/TriggerPad.kt
index 2ebe0ed..f67b301 100644
--- a/samples/drumthumper/src/main/java/com/google/oboe/sample/drumthumper/TriggerPad.kt
+++ b/samples/drumthumper/src/main/java/com/google/oboe/sample/drumthumper/TriggerPad.kt
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package com.plausible.drumthumper
+package com.mobileer.drumthumper
import android.content.Context
import android.graphics.Canvas
diff --git a/samples/drumthumper/src/main/res/layout-land/drumthumper_activity.xml b/samples/drumthumper/src/main/res/layout-land/drumthumper_activity.xml
index f4cf8e2..bb975ea 100644
--- a/samples/drumthumper/src/main/res/layout-land/drumthumper_activity.xml
+++ b/samples/drumthumper/src/main/res/layout-land/drumthumper_activity.xml
@@ -26,7 +26,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/kickPad"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -85,7 +85,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/snarePad"
android:layout_width="wrap_content"
android:layout_height="match_parent"
@@ -145,7 +145,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/hihatOpenPad"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -204,7 +204,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/hihatClosedPad"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -269,7 +269,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/midTomPad"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -328,7 +328,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/lowTomPad"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -387,7 +387,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/ridePad"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -446,7 +446,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/crashPad"
android:layout_width="match_parent"
android:layout_height="match_parent"
diff --git a/samples/drumthumper/src/main/res/layout/drumthumper_activity.xml b/samples/drumthumper/src/main/res/layout/drumthumper_activity.xml
index b27b952..e077ab9 100644
--- a/samples/drumthumper/src/main/res/layout/drumthumper_activity.xml
+++ b/samples/drumthumper/src/main/res/layout/drumthumper_activity.xml
@@ -26,7 +26,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/kickPad"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -85,7 +85,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/snarePad"
android:layout_width="wrap_content"
android:layout_height="match_parent"
@@ -151,7 +151,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/hihatOpenPad"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -210,7 +210,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/hihatClosedPad"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -275,7 +275,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/midTomPad"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -334,7 +334,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/lowTomPad"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -399,7 +399,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/ridePad"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -458,7 +458,7 @@
android:layout_weight=".5"
android:orientation="vertical">
- <com.plausible.drumthumper.TriggerPad
+ <com.mobileer.drumthumper.TriggerPad
android:id="@+id/crashPad"
android:layout_width="match_parent"
android:layout_height="match_parent"