Open HelgeStenstrom opened 4 years ago
Well it does but in a strange way i haven't fully understood , you can see it working in XR3Player . I have 16 filters which change the audio .
How it works ?.... You can have a look on this class how i use it in XR3Player ...
It really works but i am not fully aware how internally.
I can't see that setEqualizer is used in the lines you are referring to, but it's called at line 375. I still don't see what happens. When you say "It really works but i am not fully aware how internally", what do you mean by internally?
Is there any way to validate this code, other that running it, and listening to the result?
https://github.com/goxr3plus/java-stream-player/blob/6a00a79f32bf324f7d6232182d93745da64bee0b/src/main/java/com/goxr3plus/streamplayer/stream/StreamPlayer.java#L1250-L1257
I can't see that this method has any side effect, desired or not. It copies an array passed to it, into a local variable, and when the method goes out of scope, the copy is lost.
What is the intention with the method? If it never has worked as intended, maybe it should be removed.