I need to get the current Active audio session IDs to attach some audio effects on them. This session is not necessarily created by my process.
Is there any interface provided by audioTrack or something else to realize this functionality?
I need to get the current Active audio session IDs to attach some audio effects on them. This session is not necessarily created by my process.
Is there any interface provided by audioTrack or something else to realize this functionality?
You can simply use getAudioSessionId() from AudioTrack if you have access to its object.
In case it's not necessarily created by your process, your last resort is to use "0" as session ID which corresponds to the audio output mix, but your effect will apply to everything.