Can someone advise what is wrong with this code
B4X:
This does not work
p.SetVolume(p.VOLUME_MUSIC,p.GetMaxVolume,False)
but this does
p.SetVolume(3,15,False)
Compiling code. Error
Error compiling program.
Error description: Cannot cast: {Type=Boolean,Rank=0} to number.
Occurred on line: 1064
p.SetVolume(p.VOLUME_MUSIC,p.GetMaxVolume,False)
Word: false