GetWAVLength()
Summary
Returns the length of the wav file in seconds.
Syntax
length = GetWAVLength(string file_name)
| Argument | Contents |
|---|---|
| file_name | The name of the WAV file |
Returns
The length of the wav file in seconds.
Example
length = GetWAVLength("mozart.wav")
Error Codes
| Error Type | Meaning |
|---|---|
| Error | The file could not be found or is an invalid WAV file |
See Also
| Function | Summary |
|---|---|
| GetAVILength() | Returns the number of frames in the AVI file |
| PlaySlideshow() | Plays a multimedia slideshow |