f74df70fd777cc2fa426e992c64c1f4aa78a9122 |
|
20-May-2017 |
Mikhail Naganov <mnaganov@google.com> |
audiohal: Prevent logspam when calling get_presentation_position get_presentation_position can return ENODATA if the stream has stopped but the write is still querying the position. Bug: 38376424 Change-Id: I9d516a19fb347843a8ec8e8e9a0f5eab0b0798e6 Test: no log messages from StreamHAL about get_presentation_position (cherry picked from commit 96a3a19beda45bef7c34fc06a0048174f3a7e362)
/hardware/interfaces/audio/2.0/default/Stream.cpp
|
3e6fe754f647db202a7a455adcf1ab5d686105d3 |
|
24-Apr-2017 |
Mikhail Naganov <mnaganov@google.com> |
audiohal: Fix handling of invalid arguments in 'debugDump' methods Add checks for validity of the passed in native handle. Bug: 37590777 Change-Id: If906f0086c3442819e1844cc521215d5b74af015 Test: VTS (cherry picked from commit 7bae6a0b635b142cfba9d4c4612e1e114f85b842)
/hardware/interfaces/audio/2.0/default/Stream.cpp
|
fd067c3f54669b84b267047d173d15392d178dc4 |
|
09-Mar-2017 |
Kevin Rocard <krocard@google.com> |
Fix segfault in Primary audio hal hidl wrapper getDevice Test: run the corresponding vts test Test: vts-tradefed r vts-hal-hidl -m VtsHalAudioV2_0Target Bug: 34170075 Change-Id: I0652f1bf748de99a8a2594630daf5ea2acec8934 Signed-off-by: Kevin Rocard <krocard@google.com>
/hardware/interfaces/audio/2.0/default/Stream.cpp
|
d63e79022a1c244617d6aab7806788570373016a |
|
31-Jan-2017 |
Mikhail Naganov <mnaganov@google.com> |
Audio HAL default implementation: reduce logspam Legacy BT A2DP implementation of Audio HAL may be returning EAGAIN from get_presentation_position, this is normal and shouldn't be logged. Otherwise we create logspam as this HAL function is called often. Bug: 30222631 Change-Id: I9394dbc1d53c1f4136c2d538fccd519964ff1697 Test: play music via BT A2DP
/hardware/interfaces/audio/2.0/default/Stream.cpp
|
b29438ef70549a331d11c0384c53cf1dc6e7f0be |
|
22-Dec-2016 |
Mikhail Naganov <mnaganov@google.com> |
audiohal: Re-implement stream read and write using FMQ Result: no hwbinder calls due read / write session. Added IStream.close method for explicitly freeing up of resources consumed by the stream before automatic server objects reaping gets to it. Test: make, perform Loopback RTT, check traces Bug: 30222631 Change-Id: I678559f6ef30026685df787cd2ba7c2ee449ed27
/hardware/interfaces/audio/2.0/default/Stream.cpp
|
7deb7dad39e58b6e5de812075950adc27cd51d95 |
|
16-Dec-2016 |
Eric Laurent <elaurent@google.com> |
audio treble HAL: implement methods and structures for stream in MMAP mode Bug: 33398120 Test: make marlin-eng with ENABLE_TREBLE true Change-Id: I64f56526c7c775b03191439188545171b565ef31
/hardware/interfaces/audio/2.0/default/Stream.cpp
|
13f43f4afeb56edf8aab858320107d0e378a6356 |
|
08-Dec-2016 |
Mikhail Naganov <mnaganov@google.com> |
audiohal: Do not log if EINVAL is received from get_presentation_position This happens often, and it's normal. Avoid logging it down as this causes logspam. Bug: 33353073 Change-Id: Ia3b1b8af61bdf83e9bcde0e5bed0285af037df45 Test: cause the system to play some sounds (e.g. UI clicks), watch logcat
/hardware/interfaces/audio/2.0/default/Stream.cpp
|
f9d303435d80161fabb16cdff3b8f2f75f362480 |
|
30-Nov-2016 |
Yifan Hong <elsk@google.com> |
Update to use the correct logging library. Test: mma compiles Change-Id: Idb33dea5faaf1a5e54719c2a5a683d2d47e9b8e8
/hardware/interfaces/audio/2.0/default/Stream.cpp
|
70b9a15df00a42b319279d903bf5923564920e3b |
|
18-Nov-2016 |
Martijn Coenen <maco@google.com> |
Use newly introduced hidl_handle. Bug: 32089785 Test: builds Change-Id: I27c7d3945e1fe390661bf322987011a00fe9b3fe
/hardware/interfaces/audio/2.0/default/Stream.cpp
|
10548295023bee99108e418499aff09fe578211e |
|
31-Oct-2016 |
Mikhail Naganov <mnaganov@google.com> |
Implement audio devices and streams HAL delegating to legacy HAL Changes made to the .hal definition: - introduce Effect ID returned by the IEffectsFactory that needs to be passed to IStream.{add|remove}Effect; otherwise it's impossible to retrieve the underlying HAL effect handle; - change "bus address" in DeviceAddress to "string" type; - fix signature of some methods w.r.t. returning Result; - remove unused "struct AudioPatch". Bug: 30222631 Test: make Change-Id: Icb51729ef57bb2a5b0b78609735e7481bc04f95c
/hardware/interfaces/audio/2.0/default/Stream.cpp
|