diff options
author | Eric Laurent <elaurent@google.com> | 2012-03-08 13:39:13 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2012-03-08 13:41:38 -0800 |
commit | f9a4e2eccfbbe451512337af0806cfc54be0eaf9 (patch) | |
tree | 7ea60ec96ec313200943d1f754c758f9df680bc8 /audio/audio_policy_hal.cpp | |
parent | f7db03562644b03447eb6351156e53188ea0c616 (diff) | |
download | hardware_libhardware_legacy-f9a4e2eccfbbe451512337af0806cfc54be0eaf9.zip hardware_libhardware_legacy-f9a4e2eccfbbe451512337af0806cfc54be0eaf9.tar.gz hardware_libhardware_legacy-f9a4e2eccfbbe451512337af0806cfc54be0eaf9.tar.bz2 |
audio policy: use audio_devices_t when appropriate
Change-Id: I0b4e2ff705fce96b40fdda28b1bc4b514438bec6
Diffstat (limited to 'audio/audio_policy_hal.cpp')
-rw-r--r-- | audio/audio_policy_hal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio_policy_hal.cpp b/audio/audio_policy_hal.cpp index 40d73cb..9a71d2f 100644 --- a/audio/audio_policy_hal.cpp +++ b/audio/audio_policy_hal.cpp @@ -258,7 +258,7 @@ static uint32_t ap_get_strategy_for_stream(const struct audio_policy *pol, return lap->apm->getStrategyForStream((AudioSystem::stream_type)stream); } -static uint32_t ap_get_devices_for_stream(const struct audio_policy *pol, +static audio_devices_t ap_get_devices_for_stream(const struct audio_policy *pol, audio_stream_type_t stream) { const struct legacy_audio_policy *lap = to_clap(pol); |