From: Android-Andi Date: Thu, 7 Jan 2016 10:51:38 +0000 (+0100) Subject: libsecril-client: spell AUDIO correctly X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=40afadb663003daaa1242583283ef49e21dce84a;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git libsecril-client: spell AUDIO correctly Change-Id: I10c3a4bdeb71685049f641018d7a5ef593f999a6 --- diff --git a/ril/libsecril-client/Android.mk b/ril/libsecril-client/Android.mk index df9ee57..71cdc60 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 9351f7a..e927122 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 134b80e..0b3a191 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);