diff options
author | Eric Laurent <elaurent@google.com> | 2014-10-07 09:19:31 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2014-10-07 12:25:01 -0700 |
commit | f380677f21240ffb78bcdf7c804fe0a7807fb08d (patch) | |
tree | 9116f900580b1926e511970340ca97a7e717811a /services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp | |
parent | 8b1e80bf1e9f214feea219cfe981ba533b806003 (diff) | |
download | frameworks_av-f380677f21240ffb78bcdf7c804fe0a7807fb08d.zip frameworks_av-f380677f21240ffb78bcdf7c804fe0a7807fb08d.tar.gz frameworks_av-f380677f21240ffb78bcdf7c804fe0a7807fb08d.tar.bz2 |
audio policy: fix build with USE_LEGACY_AUDIO_POLICY
Bug: 17894512.
Change-Id: I6431c0b03ba02cf561413c34848a334caa0261fa
Diffstat (limited to 'services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp')
-rw-r--r-- | services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp b/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp index 9f66fd1..e1e81e1 100644 --- a/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp +++ b/services/audiopolicy/AudioPolicyInterfaceImplLegacy.cpp @@ -24,6 +24,7 @@ #include <system/audio.h> #include <system/audio_policy.h> #include <hardware/audio_policy.h> +#include <media/AudioPolicyHelper.h> namespace android { @@ -525,7 +526,7 @@ status_t AudioPolicyService::setAudioPortConfig(const struct audio_port_config * return INVALID_OPERATION; } -audio_io_handle_t AudioPolicyService::getOutputForAttr(const audio_attributes_t *attr __unused, +audio_io_handle_t AudioPolicyService::getOutputForAttr(const audio_attributes_t *attr, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, |