Hedi
Member
Hello,
How can I set volume to a media player?
mp1.SetVolume(1,1)
I found a solution but I don't know how to convert it to B4A
Click here to see the solution (StackOverflow)
The code that works:
Then, you could do this to set the volume:
Thanks so much for your helps.
How can I set volume to a media player?
mp1.SetVolume(1,1)
I found a solution but I don't know how to convert it to B4A
Click here to see the solution (StackOverflow)
The code that works:
C#:
float volume1F = (float) volume1/100;
C#:
mp1.setVolume(volume1F, volume1F);
Thanks so much for your helps.