Re: OpenSL - Audio Session ID for 3rd party equalizer apps

978 views
Skip to first unread message

mic _

unread,
Nov 13, 2012, 1:03:30 PM11/13/12
to andro...@googlegroups.com
>>It works great on my Nexus S running Android 4.1, but I've received many complaints from Galaxy Nexus and >>Galaxy S3 users that say that it flatlines under most conditions.

The Nexus is running some sort of Vanilla Android build then I guess(?). The point being that its music player might not be applying any effects of its own, while the one on Samsung's phones probably is. The AudioFlinger in Jellybean will disable all effects applied to session 0 when someone attaches an effect to a session other than 0.


>>Where did you see that audio session 0 is being deprecated?

It's mentioned at
http://developer.android.com/reference/android/media/audiofx/AudioEffect.html


/Michael

On Sun, Nov 11, 2012 at 9:03 PM, Darren Keese <dak...@gmail.com> wrote:
I'm still looking for this info as well.  

I released an audio visualizer that uses audio session 0 to get audio data. It works great on my Nexus S running Android 4.1, but I've received many complaints from Galaxy Nexus and Galaxy S3 users that say that it flatlines under most conditions.

Where did you see that audio session 0 is being deprecated?

Thanks.


On Saturday, August 11, 2012 12:19:18 AM UTC-4, Michael Moussa wrote:
When using OpenSL to play audio in native code how does one retrieve the Audio Session ID so that we may pass it to 3rd party equalizer apps? Basically the NDK equivalent of this function in the SDK: http://developer.android.com/reference/android/media/MediaPlayer.html#getAudioSessionId()

I looked everywhere and it does not seem possible. Furthermore the global audio session 0 is being deprecated and no longer works in Jellybean with music players that use the NDK for playing audio.

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/F01xYe4ad0cJ.

To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.

Reply all
Reply to author
Forward
0 new messages