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 := LOCAL_CFLAGS :=
ifeq ($(TARGET_BOARD_PLATFORM),exynos4) ifeq ($(TARGET_BOARD_PLATFORM),exynos4)
LOCAL_CFLAGS += -DRIL_CALL_AUIO_PATH_EXTRAVOLUME LOCAL_CFLAGS += -DRIL_CALL_AUDIO_PATH_EXTRAVOLUME
endif endif
LOCAL_MODULE:= libsecril-client 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. * Set external sound device path for noise reduction.
*/ */
extern "C" extern "C"
#ifdef RIL_CALL_AUIO_PATH_EXTRAVOLUME #ifdef RIL_CALL_AUDIO_PATH_EXTRAVOLUME
int SetCallAudioPath(HRilClient client, AudioPath path, ExtraVolume mode) int SetCallAudioPath(HRilClient client, AudioPath path, ExtraVolume mode)
#else #else
int SetCallAudioPath(HRilClient client, AudioPath path) int SetCallAudioPath(HRilClient client, AudioPath path)
@ -701,7 +701,7 @@ int SetCallAudioPath(HRilClient client, AudioPath path)
data[2] = 0x00; // data length data[2] = 0x00; // data length
data[3] = 0x06; // data length data[3] = 0x06; // data length
data[4] = ConvertAudioPath(path); // audio path data[4] = ConvertAudioPath(path); // audio path
#ifdef RIL_CALL_AUIO_PATH_EXTRAVOLUME #ifdef RIL_CALL_AUDIO_PATH_EXTRAVOLUME
data[5] = mode; // ExtraVolume data[5] = mode; // ExtraVolume
#endif #endif

@ -154,7 +154,7 @@ typedef enum _AudioPath {
/** /**
* ExtraVolume * ExtraVolume
*/ */
#ifdef RIL_CALL_AUIO_PATH_EXTRAVOLUME #ifdef RIL_CALL_AUDIO_PATH_EXTRAVOLUME
typedef enum _ExtraVolume { typedef enum _ExtraVolume {
ORIGINAL_PATH, ORIGINAL_PATH,
EXTRA_VOLUME_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. * 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); int SetCallAudioPath(HRilClient client, AudioPath path, ExtraVolume mode);
#else #else
int SetCallAudioPath(HRilClient client, AudioPath path); int SetCallAudioPath(HRilClient client, AudioPath path);

Loading…
Cancel
Save