diff options
author | Simon Wilson <simonwilson@google.com> | 2011-09-27 13:39:53 -0700 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2011-09-30 17:57:46 -0700 |
commit | f11a9a25af586d95cf090f1333683d7adc771296 (patch) | |
tree | d9e67819b767908fcd7f4ddb712ee1ae84021afc /audio/ril_interface.h | |
parent | c6a5da4e47f761099e198be9ca2e6983a6f0a2cd (diff) | |
download | device_samsung_tuna-f11a9a25af586d95cf090f1333683d7adc771296.tar.gz device_samsung_tuna-f11a9a25af586d95cf090f1333683d7adc771296.tar.bz2 device_samsung_tuna-f11a9a25af586d95cf090f1333683d7adc771296.zip |
audio: support wideband call audio
Some networks support wideband AMR for voice calls. To support
this, implement a callback that the RIL uses to set the
wideband config.
Change-Id: Ifa75ff189cc300728f560b77fd4fb3f1798e776d
Diffstat (limited to 'audio/ril_interface.h')
-rwxr-xr-x[-rw-r--r--] | audio/ril_interface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/ril_interface.h b/audio/ril_interface.h index 4a7a839..676772c 100644..100755 --- a/audio/ril_interface.h +++ b/audio/ril_interface.h @@ -28,6 +28,10 @@ #define RIL_CLIENT_ERR_RESOURCE 6 // Resource not available #define RIL_CLIENT_ERR_UNKNOWN 7 +#define RIL_OEM_UNSOL_RESPONSE_BASE 11000 // RIL response base index +#define RIL_UNSOL_WB_AMR_STATE \ + (RIL_OEM_UNSOL_RESPONSE_BASE + 17) // RIL AMR state index + struct ril_handle { void *handle; @@ -63,5 +67,6 @@ int ril_set_call_volume(struct ril_handle *ril, enum ril_sound_type sound_type, float volume); int ril_set_call_audio_path(struct ril_handle *ril, enum ril_audio_path path); int ril_set_call_clock_sync(struct ril_handle *ril, enum ril_clock_state state); +void ril_register_set_wb_amr_callback(void *function, void *data); #endif |