BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_ChannelGetMusicInstrument Method BASS.NET API for the Un4seen BASS Audio Library
Retrieves a specific MOD instrument name from a channel, if it is available.

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

public static string BASS_ChannelGetMusicInstrument(
	int handle,
	int instrument
)

Parameters

handle
Type: SystemInt32
The channel handle...a HMUSIC.
instrument
Type: SystemInt32
The instrument number (0=first).

Return Value

Type: String
or a single string representing the MOD instrument name.
Remarks

Only available for MOD music channels.

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.
BASS_ERROR_NOTAVAILThe requested tags are not available.

See Also

Reference