History log of /hardware/interfaces/audio/2.0/default/Stream.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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.h
a6f40c84ae4ca079744d21583fbef18fd45fbe13 07-Mar-2017 Eric Laurent <elaurent@google.com> audio: fix IStream.createMmapBuffer()

Do not close the native fd for shared memory passed by
the legacy HAL as it is owned by tinyalsa implementation.

Test: test MMAP NO IRQ playback and capture streams
Bug: 31458351
Change-Id: Ie0c2a38574e5ac5c13fdb8a5c81fd02cf7d0e47a
/hardware/interfaces/audio/2.0/default/Stream.h
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.h
45d4d3025dfbdba78d2490044b63fc8ee804269b 23-Jan-2017 Martijn Coenen <maco@google.com> hidl_memory no longer owns passed-in handles.

So clean them up when done.

Bug: 33812533
Test: mma
Change-Id: Ic2fdfa703547a210b9915288d5a77dc8e329a1c6
/hardware/interfaces/audio/2.0/default/Stream.h
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.h
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.h
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.h
d6e4f03acf5fa1e76b75e33af7a26f248a92be9a 29-Nov-2016 Steven Moreland <smoreland@google.com> Remove HIDL_GENERATED from things written by hand.

find . -name "*.h" -exec sed -i 's/HIDL_GENERATED_\(.*\)_H_/\U\1_H/g' {}
+

They now match what would be generated by -Lc++-impl. This prevents
confusion over whether or not the files are autogenerated.

Change-Id: I4aa89a39907024aa9525df71ff3715979f431357
Similar commit: https://android-review.googlesource.com/#/c/305996/
Test: pass
/hardware/interfaces/audio/2.0/default/Stream.h
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.h
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.h