summaryrefslogtreecommitdiffstats
path: root/modules/audio
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-17 11:33:22 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-17 11:33:22 -0800
commitfad1f606a2a67ed15ea5ef0368cb3eb94756baae (patch)
treedf4917db21c109bf05eb9c365f2effff5efb5e0d /modules/audio
parentc38e7baa4f7f0ee69ba494a4624d1f6dd3e21bec (diff)
parent6df641e269639dbb81bb1c19f47d3b9e5e3ff7d7 (diff)
downloadhardware_libhardware-fad1f606a2a67ed15ea5ef0368cb3eb94756baae.zip
hardware_libhardware-fad1f606a2a67ed15ea5ef0368cb3eb94756baae.tar.gz
hardware_libhardware-fad1f606a2a67ed15ea5ef0368cb3eb94756baae.tar.bz2
Merge "set_mode and set_phone_state now take audio_mode_t"
Diffstat (limited to 'modules/audio')
-rw-r--r--modules/audio/audio_hw.c2
-rw-r--r--modules/audio/audio_policy.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/audio/audio_hw.c b/modules/audio/audio_hw.c
index a482604..6465df9 100644
--- a/modules/audio/audio_hw.c
+++ b/modules/audio/audio_hw.c
@@ -278,7 +278,7 @@ static int adev_set_master_volume(struct audio_hw_device *dev, float volume)
return -ENOSYS;
}
-static int adev_set_mode(struct audio_hw_device *dev, int mode)
+static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode)
{
return 0;
}
diff --git a/modules/audio/audio_policy.c b/modules/audio/audio_policy.c
index 3313d48..c805601 100644
--- a/modules/audio/audio_policy.c
+++ b/modules/audio/audio_policy.c
@@ -58,7 +58,7 @@ static audio_policy_dev_state_t ap_get_device_connection_state(
return AUDIO_POLICY_DEVICE_STATE_UNAVAILABLE;
}
-static void ap_set_phone_state(struct audio_policy *pol, int state)
+static void ap_set_phone_state(struct audio_policy *pol, audio_mode_t state)
{
}