SoundLength(#Sound [, Mode])Description
Get the length of the sound.
#Sound The sound to use. Mode (optional) The mode used to get the length. It can be one of the following value:#PB_Sound_Frame : the length is returned in frame (default). #PB_Sound_Millisecond: the length is returned in milliseconds.
The length of the sound, or -1 if an error occurred.
Sounds loaded with the #PB_Sound_Streaming flag are not supported.