10fd056c636861b9e45e3df8456c95a5ddbcc556 |
|
02-Aug-2017 |
Mikhail Naganov <mnaganov@google.com> |
libaudiohal: When starting write, consider the stream buffer size When starting writing into a stream, use the bigger value from the requested bytes to write and the stream buffer size. This fixes a corner case when offload playback starts close to the end of the track, and then jumps to the middle. Bug: 63979005 Test: checked HAL logs for the repro case, confirmed that Loopback, PM, YT, Camcoder, still work, also over BT Change-Id: I924468619d2185fd679b739747c423babfb36ada
/frameworks/av/media/libaudiohal/StreamHalHidl.h
|
953608fabc2b1253850f9922b15fd1392bde784c |
|
14-Jun-2017 |
Andy Hung <hunga@google.com> |
StreamHal: Add power logging Test: adb shell dumpsys media.audio_flinger Bug: 62307033 Bug: 62381511 Change-Id: Ie15863f3c207e5651ce0b8818b9e38737bad77d8
/frameworks/av/media/libaudiohal/StreamHalHidl.h
|
83f042776b131b149f803fff6ab184ae2c4d98cd |
|
07-Feb-2017 |
Mikhail Naganov <mnaganov@google.com> |
audioflinger: Adjust priority of hal threads HALs are prohibited from using framework binder, and there is no equivalent scheduling policy service in hwbinder. Thus, in order to match priorities of FastCapture / Mixer threads with their counterparts in the HAL, it is needed to request the priority boost from audioflinger on behalf of the HAL. Test done to verify the priority was correctly set. Bug: 34131400 Change-Id: If8b6b031c0fcba771fae901a5b8e7da89b3a1570 Test: check priority match between audioflinger's and hal's threads
/frameworks/av/media/libaudiohal/StreamHalHidl.h
|
c8381909c97dd939706d8b1b9069dcfb4e2bf52f |
|
31-Jan-2017 |
Mikhail Naganov <mnaganov@google.com> |
audiohal: Make sure audio data transfer related commands go via FMQ When outputting audio, the framework issues several HAL calls from the same thread that writes into data FMQ. These calls also need to be served on the same thread that writes audio data to HAL. The same thing happens when audio input is commenced. Add a command FMQ for passing different commands to the HAL thread. This way, depending on the calling thread, the same call may go either via hwbinder or via the command queue. This dramatically reduces jitter in RTT measurements (although doesn't improve the latency). Bug: 30222631 Test: scripted RTT app Change-Id: Ic212e33d4e2b1cf404973fe9d60762523eef9f40
/frameworks/av/media/libaudiohal/StreamHalHidl.h
|
d635199dcaae89ac50391bdfee4a12d4c88c519d |
|
12-Jan-2017 |
Mikhail Naganov <mnaganov@google.com> |
Update StreamHalHidl to use IStreamOut.WriteStatus new field Updated the client code to use the new field: IStreamOut.WriteStatus.presentationPositionRetval for providing legacy-compatible results when calling 'get_presentation_position' immediately after 'write'. Bug: 30222631 Test: Loopback RTT, media CTS Change-Id: Idf3f1d29288ddf17a5015f96291648d64d124ec7
/frameworks/av/media/libaudiohal/StreamHalHidl.h
|
e1c4b5d7a94c21b8ce0c5707b4af84de596fbb79 |
|
22-Dec-2016 |
Mikhail Naganov <mnaganov@google.com> |
Re-implement HIDL stream read and write using FMQ Result: no hwbinder calls due read / write session. Test: make, perform Loopback RTT, check traces Bug: 30222631 Change-Id: I4a8792525ec374111302cfd5c0a2e41f9f4cc418
/frameworks/av/media/libaudiohal/StreamHalHidl.h
|
af35aadb7ab558035b6cf45bd3930ecaa3a3b330 |
|
15-Dec-2016 |
Eric Laurent <elaurent@google.com> |
audio HAL: implement mmap stream functions Bug: 33398120 Test: make marlin-eng with ENABLE_TREBLE true Change-Id: I10df5440b9946398a73a7ee309eca860eae0bfcd
/frameworks/av/media/libaudiohal/StreamHalHidl.h
|
f558e0218d2677a813c9c600886f673894eec927 |
|
15-Nov-2016 |
Mikhail Naganov <mnaganov@google.com> |
libaudiohal: Implement simple HIDL client This client requires both HIDL client and server to be of the same ABI version (e.g. 32-bit). EffectHalHidl::process and EffectHalHidl::processReverse are stubs. Some extra warnings are logged due to unimplemented functions in the legacy HAL. Bug: 30222631 Change-Id: Id074131dec6d6c4f1031695abcf3ea066e92a5af Test: Play Music (play / EQ), YouTube, Loopback RTLT, Ok Google on N5X
/frameworks/av/media/libaudiohal/StreamHalHidl.h
|