diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Android.mk | 3 | ||||
-rw-r--r-- | audio/audio_hw.c | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/audio/Android.mk b/audio/Android.mk index 50995a3..bdb47de 100644 --- a/audio/Android.mk +++ b/audio/Android.mk @@ -27,8 +27,5 @@ LOCAL_C_INCLUDES += \ LOCAL_SHARED_LIBRARIES := liblog libcutils libtinyalsa libaudioutils libdl libsecril-client LOCAL_MODULE_TAGS := optional -# Comment to disable out stream resampler. -#LOCAL_CFLAGS += -DOUT_RESAMPLER - include $(BUILD_SHARED_LIBRARY) diff --git a/audio/audio_hw.c b/audio/audio_hw.c index 45f4c44..e865b5c 100644 --- a/audio/audio_hw.c +++ b/audio/audio_hw.c @@ -185,6 +185,7 @@ */ #elif DEFAULT_OUT_SAMPLING_RATE != MM_FULL_POWER_SAMPLING_RATE #define PLAYBACK_SHORT_PERIOD_COUNT 3 +#define OUT_RESAMPLER #else #define PLAYBACK_SHORT_PERIOD_COUNT 2 #endif |