Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alexmarsev/soundtouch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroparviai <oparviai@f3a24b6a-cf45-0410-b55a-8c22e2698227>2013-06-15 15:44:11 +0400
committeroparviai <oparviai@f3a24b6a-cf45-0410-b55a-8c22e2698227>2013-06-15 15:44:11 +0400
commit9853e8be35704f274f4822cf9d7125ee6ef221da (patch)
tree3879cdc32146d9bf25ac1dd2b7f2d4986f8592d3
parent4c3cded3b6e52787f37dd2ac2022effd6d5e50f9 (diff)
Bugfix in Android jni interface
-rw-r--r--README.html1
-rw-r--r--source/Android-lib/jni/soundtouch-jni.cpp12
2 files changed, 5 insertions, 8 deletions
diff --git a/README.html b/README.html
index 609241c..8cdb998 100644
--- a/README.html
+++ b/README.html
@@ -728,6 +728,7 @@ submitted bugfixes since SoundTouch v1.3.1: </p>
<li> Richard Ash</li>
<li> Stanislav Brabec</li>
<li> Christian Budde</li>
+ <li> Chris Bryan</li>
<li> Jacek Caban</li>
<li> Brian Cameron</li>
<li> Jason Champion</li>
diff --git a/source/Android-lib/jni/soundtouch-jni.cpp b/source/Android-lib/jni/soundtouch-jni.cpp
index f2a770c..8df3543 100644
--- a/source/Android-lib/jni/soundtouch-jni.cpp
+++ b/source/Android-lib/jni/soundtouch-jni.cpp
@@ -14,26 +14,22 @@
#include <jni.h>
#include <android/log.h>
-//#include <string.h>
-//#include <stdio.h>
-//#include <dlfcn.h>
#include "../../../include/SoundTouch.h"
-//#include "TimeShiftEffect.h"
-#define LOGV(...) __android_log_print((int)ANDROID_LOG_INFO, "SOUNDTOUCH", __VA_ARGS__)
-//#define LOGV(...)
+#define LOGV(...) __android_log_print((int)ANDROID_LOG_INFO, "SOUNDTOUCH", __VA_ARGS__)
+//#define LOGV(...)
#define DLL_PUBLIC __attribute__ ((visibility ("default")))
using namespace soundtouch;
-extern "C" DLL_PUBLIC jstring Java_net_surina_soundtouch_getVersionString(JNIEnv *env, jobject thiz)
+extern "C" DLL_PUBLIC jstring Java_net_surina_soundtouch_SoundTouch_getVersionString(JNIEnv *env, jobject thiz)
{
const char *verStr;
- LOGV("JNI call soundtouch.getVersionString");
+ LOGV("JNI call SoundTouch.getVersionString");
// Call example SoundTouch routine
verStr = SoundTouch::getVersionString();