BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_ChannelSetPosition Method (Int32, Int32, Int32)BASS.NET API for the Un4seen BASS Audio Library
Sets the playback position in order.row of a MOD music.

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public static bool BASS_ChannelSetPosition(
	int handle,
	int order,
	int row
)

Parameters

handle
Type: SystemInt32
The channel handle... HMUSIC.
order
Type: SystemInt32
The order position.
row
Type: SystemInt32
The row position.

Return Value

Type: Boolean
If succesful, then is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

This is just an overload which uses BASS_ChannelSetPosition(Int32, Int64, BASSMode) and MakeLong(Int16, Int16) internally.

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not a valid channel.
BASS_ERROR_NOTFILEThe stream is not a file stream.
BASS_ERROR_POSITIONThe requested position is invalid, eg. beyond the end.
BASS_ERROR_NOTAVAILThe download has not yet reached the requested position.
BASS_ERROR_UNKNOWNSome other mystery problem!

See Also

Reference