Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Building dsp manager in Eclipse

OP m4RinKo2

16th February 2014, 11:29 AM   |  #1  
m4RinKo2's Avatar
OP Senior Member
Thanks Meter: 461
 
832 posts
Join Date:Joined: Oct 2012
More
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: [ View ]
16th February 2014, 03:30 PM   |  #2  
nikwen's Avatar
Recognized Contributor
Thanks Meter: 1,407
 
2,805 posts
Join Date:Joined: Feb 2013
More
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.
16th February 2014, 06:29 PM   |  #3  
m4RinKo2's Avatar
OP Senior Member
Thanks Meter: 461
 
832 posts
Join Date:Joined: Oct 2012
More
Quote:
Originally Posted by nikwen

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
16th February 2014, 10:56 PM   |  #4  
nikwen's Avatar
Recognized Contributor
Thanks Meter: 1,407
 
2,805 posts
Join Date:Joined: Feb 2013
More
Quote:
Originally Posted by m4RinKo2

I think it's not that. If I use already builded apk it works.

Sent from my GT-S5570I

Ok, I've got no idea then.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes