Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,778 Members 38,384 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Building dsp manager in Eclipse

Tip us?
 
m4RinKo2
Old
#1  
m4RinKo2's Avatar
Senior Member - OP
Thanks Meter 460
Posts: 824
Join Date: Oct 2012
Default [Q] Building dsp manager in Eclipse

Hi! I am trying to build dsp manager from source. I am using the code from cyanogenmod github (gingerbread branch). https://github.com/CyanogenMod/andro...ee/gingerbread I didnt do any modifications to the code. And when I want to change equalizer settings it fcs.
Here is the log:
Code:
01-12 18:19:26.945: E/AndroidRuntime(16249): FATAL EXCEPTION: main
01-12 18:19:26.945: E/AndroidRuntime(16249): java.lang.RuntimeException: Error receiving broadcast Intent { act=com.bel.android.dspmanager.UPDATE } in com.bel.android.dspmanager.HeadsetService$2@4050dbb0
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:722)
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.os.Handler.handleCallback(Handler.java:587)
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.os.Handler.dispatchMessage(Handler.java:92)
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.os.Looper.loop(Looper.java:130)
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.app.ActivityThread.main(ActivityThread.java:3687)
01-12 18:19:26.945: E/AndroidRuntime(16249): at java.lang.reflect.Method.invokeNative(Native Method)
01-12 18:19:26.945: E/AndroidRuntime(16249): at java.lang.reflect.Method.invoke(Method.java:507)
01-12 18:19:26.945: E/AndroidRuntime(16249): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
01-12 18:19:26.945: E/AndroidRuntime(16249): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
01-12 18:19:26.945: E/AndroidRuntime(16249): at dalvik.system.NativeStart.main(Native Method)
01-12 18:19:26.945: E/AndroidRuntime(16249): Caused by: java.lang.IllegalArgumentException: AudioEffect: bad parameter value
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.media.audiofx.AudioEffect.checkStatus(AudioEffect.java:1179)
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.media.audiofx.Equalizer.setBandLevel(Equalizer.java:229)
01-12 18:19:26.945: E/AndroidRuntime(16249): at com.bel.android.dspmanager.HeadsetService.updateDsp(HeadsetService.java:220)
01-12 18:19:26.945: E/AndroidRuntime(16249): at com.bel.android.dspmanager.HeadsetService$2.onReceive(HeadsetService.java:100)
01-12 18:19:26.945: E/AndroidRuntime(16249): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)
01-12 18:19:26.945: E/AndroidRuntime(16249): ... 9 more
TIA!
The Following User Says Thank You to m4RinKo2 For This Useful Post: [ Click to Expand ]
 
m4RinKo2
Old
#3  
m4RinKo2's Avatar
Senior Member - OP
Thanks Meter 460
Posts: 824
Join Date: Oct 2012
Quote:
Originally Posted by nikwen View Post
Are you using a Cm based ROM? I guess it needs some functions which are implemented in the OS and which only Cm based ROMs have to work properly.
I think it's not that. If I use already builded apk it works.

Sent from my GT-S5570I
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes