Navigation: thinBasic Modules > TBASS > Channels > TBASS_ChannelGetPosition |
|
Description
Retrieves the playback position (in bytes) of a sample, stream, or MOD music. Can also be used with a recording channel.
Syntax
n = TBASS_ChannelGetPosition(hChannel)
Returns
Number
If an error occurs, -1 is returned. Use TBASS_ErrorGetCode to get the error code.
If successful, the position is returned.
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 |