Discussion:
How do I access Media Focus stack from AudioFlinger or AudioTrack ?
(too old to reply)
JustJohnny
2018-09-18 01:36:46 UTC
Permalink
In lower level framework either in AudioFlinger or in AudioTrack, I want to
know which process or apps has the Audio focus currently .
How do I get that information from Higher level framework like AudioManager
or MediaFocusControl ?

Thanks.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/b8ea9811-d9e9-422c-9186-904bb6a761b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Glenn Kasten
2018-09-19 16:01:01 UTC
Permalink
android-ndk is for discussion of NDK <https://developer.android.com/ndk/>
AudioFlinger is an internal implementation detail that is not exposed by
NDK for application use.
If you are writing normal applications, you will need to restrict your app
to using NDK APIs (and SDK also).
If you are writing system apps for a custom build, you can do more but
those apps will not be portable,
and discussion of that is beyond the scope of android-ndk group.
Post by JustJohnny
In lower level framework either in AudioFlinger or in AudioTrack, I want
to know which process or apps has the Audio focus currently .
How do I get that information from Higher level framework like
AudioManager or MediaFocusControl ?
Thanks.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/f84a69dc-8404-48bc-8a6d-83ffefbb5086%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...