Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime Exception in EqualizerActivity #2

Open
archrival opened this issue May 20, 2013 · 1 comment
Open

Runtime Exception in EqualizerActivity #2

archrival opened this issue May 20, 2013 · 1 comment
Assignees

Comments

@archrival
Copy link
Owner

Exceptions similar to this can occur when creating the equalizer, will try to catch them from now on.

java.lang.RuntimeException: Unable to start activity
Caused by: java.lang.RuntimeException: AudioEffect: set/get parameter error
at android.media.audiofx.AudioEffect.checkStatus(AudioEffect.java:1231)
at android.media.audiofx.Equalizer.getBandLevelRange(Equalizer.java:207)
at com.thejoshwa.ultrasonic.androidapp.activity.EqualizerActivity.initEqualizer(EqualizerActivity.java:135)
at com.thejoshwa.ultrasonic.androidapp.activity.EqualizerActivity.onCreate(EqualizerActivity.java:61)

@Alfred-Francis
Copy link

Hi, I have the same issue with ICS.
With some research I found that it happens only when AudioFocusChangeListener is implemented.
The Equalizer is not getting initialized for some reason.
One point noteworthy is every second launch it works properly.

@ghost ghost assigned archrival Jul 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants