HGE::Channel_GetLength
Retrieves the total length of a playing channel.
float Channel_GetLength(
HCHANNEL channel
);
Parameters
- channel
- Handle of an audio channel to be queried.
Return value
If successful, returns the total duration of the channel, in seconds. Otherwise, returns -1.
Remarks
After you stop a channel, you can no longer query its length.
Requirements
Header: hge.h
Import library: hge.lib
See also
Channel_GetPos,
Channel_SetPos
|