OpenSL ES limitation on EQ?

253 views
Skip to first unread message

pl bossart

unread,
Oct 24, 2011, 12:15:35 PM10/24/11
to andro...@googlegroups.com
I noticed the following notice in the Java Equalizer class documentation
"NOTE: attaching an Equalizer to the global audio output mix by use of
session 0 is deprecated. " [1]

The same note was added for BassBoost and virtualizer. I am not sure I
understand this limitation and was wondering if there's a similar
limitation when using the Android implementation of OpenSL ES? Adding
an EQ on the output mix seems a fairly legit use case to me.
Thanks,
-Pierre

[1] http://developer.android.com/reference/android/media/audiofx/Equalizer.html

mic _

unread,
Oct 24, 2011, 12:43:29 PM10/24/11
to andro...@googlegroups.com
I don't know about OpenSL ES, but last time I checked in the AudioFlinger effects were added per playback thread (i.e. per output handle). Some vendors use a single playback thread for all playback (except A2DP), so there your effect will more or less be applied globally. Other vendors create new playback threads all the time.

/Michael


--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
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