summaryrefslogtreecommitdiffstats
path: root/modules/audio
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-12 14:56:21 -0800
committerGlenn Kasten <gkasten@google.com>2012-01-12 16:55:03 -0800
commit5161a847dd2108bec49f1ce3fa1d1c3e3cd0c851 (patch)
treeead16b364fc0a3299d002379b78f7ff0e8d6509b /modules/audio
parent60d056bf2926357260592409dee31374fa8e301b (diff)
downloadhardware_libhardware-5161a847dd2108bec49f1ce3fa1d1c3e3cd0c851.zip
hardware_libhardware-5161a847dd2108bec49f1ce3fa1d1c3e3cd0c851.tar.gz
hardware_libhardware-5161a847dd2108bec49f1ce3fa1d1c3e3cd0c851.tar.bz2
Use audio_stream_type_t consistently
Change-Id: I1e92f018a07e4b1b73ef8d4de461ef1e08bc48e7
Diffstat (limited to 'modules/audio')
-rw-r--r--modules/audio/audio_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/audio/audio_policy.c b/modules/audio/audio_policy.c
index 409f0a1..3313d48 100644
--- a/modules/audio/audio_policy.c
+++ b/modules/audio/audio_policy.c
@@ -201,7 +201,7 @@ static int ap_set_effect_enabled(struct audio_policy *pol, int id, bool enabled)
return -ENOSYS;
}
-static bool ap_is_stream_active(const struct audio_policy *pol, int stream,
+static bool ap_is_stream_active(const struct audio_policy *pol, audio_stream_type_t stream,
uint32_t in_past_ms)
{
return false;