Audio issue

Blitz3D Forums/Blitz3D Beginners Area/Audio issue

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Personally I think this isn't a fully correct way of use of the LoadSound command. while in other Languages such assignements might work properly, I woulndt event try it in Blitz.
Instead try this:
vh_fadeintro_sfx = LoadSound ("audio/fade-intro.wav")
If  vh_fadeintro_sfx <> false Then
 SoundVolume (vh_fadeintro_sfx,maxvolume)
 PlaySound (vh_fadeintro_sfx,infinite)
Else
 RuntimeError "error" 
End If