libsecril-client: spell AUDIO correctly

Change-Id: I10c3a4bdeb71685049f641018d7a5ef593f999a6
tirimbino
Android-Andi 9 years ago
parent 6596730a45
commit 40afadb663
  1. 2
      ril/libsecril-client/Android.mk
  2. 4
      ril/libsecril-client/secril-client.cpp
  3. 4
      ril/libsecril-client/secril-client.h

@ -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

@ -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

@ -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);

Loading…
Cancel
Save