From dce54a1492c410ad0d93253b341fb33305337505 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Mon, 10 Mar 2014 12:19:46 -0700 Subject: audio policy: add option to use new policy manager Add build option USE_LEGACY_AUDIO_POLICY to use either new audio policy manager in local AudioPolicyManager.cpp or the legacy AudioPolicyManagerBase.cpp via the policy HAL. New features will be implemented only by the new audio policy manager. Platform customiization will be by config file or new policy HAL. AudioPolicyClientImplLegacy.cpp copied from AudioPolicyClientImpl.cpp AudioPolicyInterfaceImplLegacy.cpp copied from AudioPolicyInterfaceImpl.cpp New implementations of AudioPolicyInterface and AudioPolicyClient talking directly to AudioPolicyManager. Change-Id: I7a320883a1de13de2c9295343e996addf2f3c154 --- services/audiopolicy/AudioPolicyInterface.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'services/audiopolicy/AudioPolicyInterface.h') diff --git a/services/audiopolicy/AudioPolicyInterface.h b/services/audiopolicy/AudioPolicyInterface.h index 768b13e..66260e3 100644 --- a/services/audiopolicy/AudioPolicyInterface.h +++ b/services/audiopolicy/AudioPolicyInterface.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ANDROID_AUDIOPOLICYINTERFACE_H -#define ANDROID_AUDIOPOLICYINTERFACE_H +#ifndef ANDROID_AUDIOPOLICY_INTERFACE_H +#define ANDROID_AUDIOPOLICY_INTERFACE_H #include #include @@ -254,4 +254,4 @@ extern "C" void destroyAudioPolicyManager(AudioPolicyInterface *interface); }; // namespace android -#endif // ANDROID_AUDIOPOLICYINTERFACE_H +#endif // ANDROID_AUDIOPOLICY_INTERFACE_H -- cgit v1.1