OSDN Git Service

audio: new audio devices enums
authorEric Laurent <elaurent@google.com>
Tue, 28 Aug 2012 21:32:21 +0000 (14:32 -0700)
committerEric Laurent <elaurent@google.com>
Fri, 7 Sep 2012 17:34:46 +0000 (10:34 -0700)
commited8f62d4faa53bbd53a358c5f494b653a09285e4
treefab09d08af6dc4a54b2e8732491bc12d4796582f
parent48387b28c87327c6c4d512eabe091c29236d2e70
audio: new audio devices enums

Changes for new audio devices enums:
- legacy audio HAL wrapper provides conversion between new and
old device enums. It exposes a rev 2.0 audio device API to the
audio framework and allow legacy implementation to use old device enums.
- AudioPolicyManager: use standard enum value for no device (0).

Change-Id: I855d72291d672cdd8a6641bedb228634a54b7d9d
audio/A2dpAudioInterface.cpp
audio/AudioPolicyManagerBase.cpp
audio/audio_hw_hal.cpp
include/hardware_legacy/AudioPolicyManagerBase.h
include/hardware_legacy/AudioSystemLegacy.h