I have a situation where the HAL can be called on by Android or through a proprietary class.
I'd like to be able to figure out who made the call since I need to be able to mute the android stream if there exists an open stream from the proprietary caller.
How might I accomplish this?
Hi
The problem is related \frameworks\base\media\java\android\media\AudioTrack.java.(You better build a sourceinsight project to insert code)
The function you may use is play()->startImpl(),when you using sourceinsight to research AudioTrack.java,you will know the answer.
BR
Zhiming