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.cpp
|
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.cpp
|
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.cpp
|
fdb3c07db5d44535eb8c3ec46dc78ad8446c01eb |
|
09-Feb-2016 |
Phil Burk <philburk@google.com> |
AudioTrack: support ENCODING_IEC61937 Set DIRECT flag. Use audio_has_proportional_frames() instead of audio_is_linear_pcm() where appropriate. Bug: 24541671 Bug: 20891646 Bug: 26373761 Change-Id: Ia32036b18683b084d6c9887593df87397ea0afd9 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/services/audioflinger/AudioHwDevice.cpp
|
23d8997f58bb9c59fa3a1b9a6b2edbf1b2b0f4c6 |
|
07-Apr-2015 |
Phil Burk <philburk@google.com> |
AudioFlinger: more DTS passthrough support Pass format for AC3 or DTS to SPDIF encoder. Bug: 18292317 Change-Id: I6d80eb548cb431bac3390ebb3235146171344291 Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/services/audioflinger/AudioHwDevice.cpp
|
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.cpp
|