9ee0540d3a61bff03d561ca431a371c3d9335d2b |
|
14-Oct-2016 |
Mikhail Naganov <mnaganov@google.com> |
Remove last references to hardware/audio.h DeviceHalInterface transitioned to "capabilities" model (similar to the one already used by streams, e.g. 'supportsDrain'). No direct checking of the HAL version is needed. AudioPolicy uses its own version read from the configuration, and these values never checked against the actual HAL version, thus it does not need versions and macroses from hardware/*. Test: make & run on N6P Change-Id: Ic4a56bfa19a9a61edac2b9f9a163fd8f63a0ff87
/frameworks/av/services/audioflinger/AudioHwDevice.h
|
cbc8f617c1aebef5d041fa40dcd38a5466690b99 |
|
12-Oct-2016 |
Mikhail Naganov <mnaganov@google.com> |
Eliminate dependencies on hardware/audio.h (trivial cases) frameworks/av must not depend on hardware/ (except for the code from libaudiohal that actually calls into HAL). This CL deals with simple cases where depending on system/audio.h is enough. Change-Id: Ia2cb66cc8c92316ce5ab884a008d5e531263c2e4 Test: make
/frameworks/av/services/audioflinger/AudioHwDevice.h
|
a0c91339814f37ea78365afb436c9f3d1f0a0090 |
|
19-Sep-2016 |
Mikhail Naganov <mnaganov@google.com> |
Update NBAIO to use the new audio HAL abstraction layer Moved the HAL access abstraction layer to a separate library so it can be used both by audioflinger and libnbaio. Bug: 30222631 Test: manual with Loopback app, Hangouts, YouTube Change-Id: Id622c2f1aa8f55a775d34f369a596c2c4d29d5be
/frameworks/av/services/audioflinger/AudioHwDevice.h
|
e4f1f63a2c54ee8687ad8cca18df0f6639ad7c81 |
|
31-Aug-2016 |
Mikhail Naganov <mnaganov@google.com> |
Abstract away access to audio devices HAL In this CL all direct access to audio_hw_device_t and its functions is encapsulated within the new class DeviceHalLocal. Loading of hardware modules is encapsulated withing DevicesFactoryHalLocal. AudioFlinger uses interface classes DevicesFactoryHalInterface and DeviceHalInterface to access these functions. Bug: 30222631 Change-Id: Ic88b20c55813a24b898f4a832e082c17d81935b7
/frameworks/av/services/audioflinger/AudioHwDevice.h
|
062e67a26e0553dd142be622821f493df541f0c6 |
|
11-Feb-2015 |
Phil Burk <philburk@google.com> |
AudioFlinger: call SPDIF wrapper from AudioFlinger Create an interface layer between the AudioFlinger and the HAL that manages the wrapping and format conversion. Removed unnecessary includes. Handle rate conversion in getRenderPosition(). Try to open HAL with encoded format before wrapping with SPDIF. Bug: 17566660 Change-Id: I00ad888ca15ff0f85b85efb8167c7f5ea761a244 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/services/audioflinger/AudioHwDevice.h
|