ret = IsSound()
IsSound() to determine if audio can be output.
Starting with Hollywood 8.0, you can also use the ForceSound() function to make Hollywood fail if the audio hardware cannot be allocated. See ForceSound for details.
True if sound can be played, False otherwise
If IsSound() = False
SystemRequest("My App", "Sorry, sound is required!", "OK")
End
EndIf
The above code checks if it can output sound and quits with
a error message if this is not possible.