Main Site Documentation

How to set (change) volume while music is playing


#1

Hi All,

What is the best way to set (change) volume when the music is playing.

I can’t seem to get this thing working.
Whenever I call SetVolume() method while the music is playing, I get a sudden rise in the music level for about 0.5 second and then hydra doesn’t respond.

Thanks,
Mazhar


#2

Can you show your code please?


#3

Here is the code snippet of my Play method. I can set the volume level here and have no issues with it.

And below is the way how I set the volume. I can’t change the volume level by doing so.

Thanks,
Mazhar