Navigation: thinBasic Modules > TBASS > Channels > TBASS_ChannelSetPosition |
|
Description
Sets the playback position of a sample, MOD music, or stream.
Syntax
n = TBASS_ChannelSetPosition(hChannel, Position)
Returns
Number
If successful, %TBASS_TRUE is returned, else %TBASS_FALSE 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. |
Position |
Number |
No |
The position, in bytes. |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |