Navigation: thinBasic Modules > TBASS > Channels > TBASS_ChannelGetLength |
|
Description
Retrieves the playback length (in bytes) of a channel.
Syntax
n = TBASS_ChannelGetLenght(hChannel)
Returns
Number
If successful, then the channel's length is returned, else -1 is returned.. Use TBASS_ErrorGetCode to get the error code.
Parameters
Name |
Type |
Optional |
Meaning |
hChannel |
Number |
No |
The channel handle... a HCHANNEL, HMUSIC, HSTREAM, or HRECORD. |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |