From 40afadb663003daaa1242583283ef49e21dce84a Mon Sep 17 00:00:00 2001 From: Android-Andi Date: Thu, 7 Jan 2016 11:51:38 +0100 Subject: [PATCH] libsecril-client: spell AUDIO correctly Change-Id: I10c3a4bdeb71685049f641018d7a5ef593f999a6 --- ril/libsecril-client/Android.mk | 2 +- ril/libsecril-client/secril-client.cpp | 4 ++-- ril/libsecril-client/secril-client.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ril/libsecril-client/Android.mk b/ril/libsecril-client/Android.mk index df9ee576..71cdc60b 100755 --- a/ril/libsecril-client/Android.mk +++ b/ril/libsecril-client/Android.mk @@ -16,7 +16,7 @@ LOCAL_SHARED_LIBRARIES := \ 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 diff --git a/ril/libsecril-client/secril-client.cpp b/ril/libsecril-client/secril-client.cpp index 9351f7af..e927122f 100755 --- a/ril/libsecril-client/secril-client.cpp +++ b/ril/libsecril-client/secril-client.cpp @@ -668,7 +668,7 @@ int SetCallVolume(HRilClient client, SoundType type, int vol_level) { * 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) @@ -701,7 +701,7 @@ 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 diff --git a/ril/libsecril-client/secril-client.h b/ril/libsecril-client/secril-client.h index 134b80e4..0b3a1916 100755 --- a/ril/libsecril-client/secril-client.h +++ b/ril/libsecril-client/secril-client.h @@ -154,7 +154,7 @@ typedef enum _AudioPath { /** * ExtraVolume */ -#ifdef RIL_CALL_AUIO_PATH_EXTRAVOLUME +#ifdef RIL_CALL_AUDIO_PATH_EXTRAVOLUME typedef enum _ExtraVolume { ORIGINAL_PATH, EXTRA_VOLUME_PATH @@ -246,7 +246,7 @@ int SetCallVolume(HRilClient client, SoundType type, int vol_level); /** * 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);