OSDN Git Service

audiohal: Re-implement stream read and write using FMQ
authorMikhail Naganov <mnaganov@google.com>
Thu, 22 Dec 2016 17:21:34 +0000 (09:21 -0800)
committerMikhail Naganov <mnaganov@google.com>
Thu, 5 Jan 2017 17:04:14 +0000 (09:04 -0800)
commitb29438ef70549a331d11c0384c53cf1dc6e7f0be
treebd9ebc68418cffbca017687e8c7990adcfa47d73
parent4a412790a567eed201b7d0bc435ad5fd91ed3d4b
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
audio/2.0/IStream.hal
audio/2.0/IStreamIn.hal
audio/2.0/IStreamOut.hal
audio/2.0/default/Android.mk
audio/2.0/default/Stream.cpp
audio/2.0/default/Stream.h
audio/2.0/default/StreamIn.cpp
audio/2.0/default/StreamIn.h
audio/2.0/default/StreamOut.cpp
audio/2.0/default/StreamOut.h
audio/2.0/types.hal