Retrieves the playback length of a channel in seconds.
| Syntax |
Return Integer = BASS_ChannelGetLengthTime(handle)
| Parameters |
DWORD
The channel handle... a HCHANNEL or HSTREAM handle.
| Returns |
If successful, then the channel's length is returned, else -1 is returned. Use BASS_ErrorGetCode to get the error code.
| See also |