View Full Version : How to implement an Equalizer which has more bands than 5?
03-24-2013, 09:22 PM
I'm doing a project with Android and I want to implement an Equalizer.
I've found that the APIs provided by Android only have 5 bands to control but I want more.
So I looked inside and I looked the Overview PDF.
But I still don't know how to realize it....
So, does anyone can give me some help about this?
PS: how to get the sourcecode of the OpenSL?
The number of equalizer bands available for control is retrieved using SLEqualizerItf->GetNumberOfBands(). Since the equalizer controls are a function of how the audio subsystem is designed and the hardware its running on (if hardware accelerated), it is not possible for you to add bands to the equalizer through OpenSL ES.
You can find the entire OpenSL ES specification in the Khronos registry: http://www.khronos.org/registry/sles/. Android exposes a partial implementation of OpenSL ES 1.0.1 as part of its native API. If you look at section 8.20 in the OpenSL ES 1.0.1 spec you can find more information on how to use the equalizer.
OpenSL ES in itself is only an API. It does not define the code which implements it. For access to source code, you need to check with the implementer to see if the source code is available.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.