Android Question EQLib with AudioStream

schnurzel

Member
Licensed User
Longtime User
In my app I play audio via audiostream. (Lib Audio v 1.71)
I try to change the sound with EQLib but without success.
The problem is the reflection

B4X:
Dim R As Reflector
    R.Target=MP
    R.Target=R.GetField("mp")
    Dim AudioSessionID As Int = R.RunMethod("getAudioSessionId")

B4X:
R.Target = AudioStream
R.Target = R.GetField("???")

What is the right value for R.GetField("???")

thank you
 

stevel05

Expert
Licensed User
Longtime User
Try:

B4X:
Dim R As Reflector
    R.Target = AudioStream
    R.Target = R.GetField("track")
    Dim AudioSessionID As Int = R.RunMethod("getAudioSessionId")
 
Upvote 0
Top