LOCAL_CFLAGS :=
ifeq ($(TARGET_BOARD_PLATFORM),exynos4)
-LOCAL_CFLAGS += -DRIL_CALL_AUIO_PATH_EXTRAVOLUME
+LOCAL_CFLAGS += -DRIL_CALL_AUDIO_PATH_EXTRAVOLUME
endif
LOCAL_MODULE:= libsecril-client
* Set external sound device path for noise reduction.
*/
extern "C"
-#ifdef RIL_CALL_AUIO_PATH_EXTRAVOLUME
+#ifdef RIL_CALL_AUDIO_PATH_EXTRAVOLUME
int SetCallAudioPath(HRilClient client, AudioPath path, ExtraVolume mode)
#else
int SetCallAudioPath(HRilClient client, AudioPath path)
data[2] = 0x00; // data length
data[3] = 0x06; // data length
data[4] = ConvertAudioPath(path); // audio path
-#ifdef RIL_CALL_AUIO_PATH_EXTRAVOLUME
+#ifdef RIL_CALL_AUDIO_PATH_EXTRAVOLUME
data[5] = mode; // ExtraVolume
#endif
/**
* ExtraVolume
*/
-#ifdef RIL_CALL_AUIO_PATH_EXTRAVOLUME
+#ifdef RIL_CALL_AUDIO_PATH_EXTRAVOLUME
typedef enum _ExtraVolume {
ORIGINAL_PATH,
EXTRA_VOLUME_PATH
/**
* Set external sound device path for noise reduction.
*/
-#ifdef RIL_CALL_AUIO_PATH_EXTRAVOLUME
+#ifdef RIL_CALL_AUDIO_PATH_EXTRAVOLUME
int SetCallAudioPath(HRilClient client, AudioPath path, ExtraVolume mode);
#else
int SetCallAudioPath(HRilClient client, AudioPath path);