summaryrefslogtreecommitdiffstats
path: root/modules/audio
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-09 10:41:30 -0800
committerGlenn Kasten <gkasten@google.com>2012-01-12 10:06:24 -0800
commit6df641e269639dbb81bb1c19f47d3b9e5e3ff7d7 (patch)
treed537db09ccdae6cb446b8c3a3dfc6edc645c8be2 /modules/audio
parent60d056bf2926357260592409dee31374fa8e301b (diff)
downloadhardware_libhardware-6df641e269639dbb81bb1c19f47d3b9e5e3ff7d7.zip
hardware_libhardware-6df641e269639dbb81bb1c19f47d3b9e5e3ff7d7.tar.gz
hardware_libhardware-6df641e269639dbb81bb1c19f47d3b9e5e3ff7d7.tar.bz2
set_mode and set_phone_state now take audio_mode_t
Change-Id: I12a3a5ad6c3cadc6b9de8281f78edfef53908e2d
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 409f0a1..ca8b054 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)
{
}