[Gambas-user] What values for Music.Volume of gb.sdl2.sound ?

Ru Vuott vuott at ...325...
Wed Dec 31 13:31:50 CET 2014


Hello,

I'm continuing to test the resources of the component "gb.sdl2.sound", and I do not understand how setting the values of Music.Volume property.

/SDL2/SDL_mixer.h  documentation tells about volume in the range of 0-128... but I saw "Music.Volume" doesn't work with these values range. So, I tried by using decimals, I can hear the sound, but sound volume doesn't change.

.....How I have to use "Music.Volume" of gb.sdl2.sound ?

Regards
vuott




More information about the User mailing list