Retrieves a specific MOD sample name from a channel, if it is available.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- handle
- Type: SystemInt32
The channel handle...a HMUSIC. - sample
- Type: SystemInt32
The sample number (0=first).
Return Value
Type: Stringor a single string representing the MOD sample name.
Remarks
ERROR CODE | Description |
---|---|
BASS_ERROR_HANDLE | handle is not valid. |
BASS_ERROR_NOTAVAIL | The requested tags are not available. |
Examples
string name = String.Empty; int i = 0; while ( true ) { name = Bass.BASS_ChannelGetMusicSample( mod, i ); if ( name != null ) Console.Writeln( String.Format( "Sample {0}={1}", i, name ) ); else break; i++; }
See Also