Retrieves the playback position in bytes of a sample, stream, or MOD music. Can also be used with a recording channel.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- handle
- Type: SystemInt32
The channel handle... a HCHANNEL, HMUSIC, HSTREAM, or HRECORD.
Return Value
Type: Int64If an error occurs, -1 is returned, use BASS_ErrorGetCode to get the error code. If successful, the position in bytes is returned.
Remarks
ERROR CODE | Description |
---|---|
BASS_ERROR_HANDLE | handle is not a valid channel. |
BASS_ERROR_UNKNOWN | Some other mystery problem! |
Examples
See Also