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 | d2dbaf991e3f6b730624b7dfc9ce3cda8101b8d7 (patch) | |
tree | 42a615dc89d9c206de0afff69a1a9e1db832f8bc /audio/ril_interface.h | |
parent | 196758539e06c7476ca4083e193d52a52929a1cd (diff) | |
download | device_samsung_tuna-d2dbaf991e3f6b730624b7dfc9ce3cda8101b8d7.zip device_samsung_tuna-d2dbaf991e3f6b730624b7dfc9ce3cda8101b8d7.tar.gz device_samsung_tuna-d2dbaf991e3f6b730624b7dfc9ce3cda8101b8d7.tar.bz2 |
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 |