tinyalsa_hal determine caller

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

tinyalsa_hal determine caller

798件の閲覧回数
mmaitland
Contributor I

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?

0 件の賞賛
返信
1 返信

791件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

 

0 件の賞賛
返信