TremorAndroid: properly set the 'LIMIT_TO_64kHz' define

experimental
shadowislord 10 years ago
parent ba91da8db4
commit d7a152e9a8
  1. 2
      jme3-android-native/src/native/jme_decode/Android.mk
  2. 1
      jme3-android-native/src/native/jme_decode/com_jme3_audio_plugins_NativeVorbisFile.c

@ -10,7 +10,7 @@ LOCAL_C_INCLUDES:= \
$(LOCAL_PATH) \ $(LOCAL_PATH) \
$(LOCAL_PATH)/Tremor $(LOCAL_PATH)/Tremor
LOCAL_CFLAGS := -std=gnu99 LOCAL_CFLAGS := -std=gnu99 -DLIMIT_TO_64kHz
LOCAL_LDLIBS := -lz -llog -Wl,-s LOCAL_LDLIBS := -lz -llog -Wl,-s
ifeq ($(TARGET_ARCH),arm) ifeq ($(TARGET_ARCH),arm)

@ -2,7 +2,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>
#define LIMIT_TO_64kHz
#include "Tremor/ivorbisfile.h" #include "Tremor/ivorbisfile.h"
#include "com_jme3_audio_plugins_NativeVorbisFile.h" #include "com_jme3_audio_plugins_NativeVorbisFile.h"

Loading…
Cancel
Save