Skip to content

Commit

Permalink
disable float the right way
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-armstrong committed Nov 20, 2016
1 parent 5c45144 commit 86d5a3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quiet/src/main/jni/quiet-jni.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
static const unsigned int num_playback_channels = 2;
static const unsigned int num_record_channels = 2;

#if defined(SL_ANDROID_PCM_REPRESENTATION_FLOAT)
#define QUIET_JNI_USE_FLOAT 0
#if 0 && defined(SL_ANDROID_PCM_REPRESENTATION_FLOAT)
#define QUIET_JNI_USE_FLOAT 1
typedef float opensl_sample_t;
#else
typedef int16_t opensl_sample_t;
Expand Down

0 comments on commit 86d5a3c

Please sign in to comment.