BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_SampleGetInfo Method (Int32, BASS_SAMPLE)BASS.NET API for the Un4seen BASS Audio Library
Retrieves a sample's default attributes and other information.

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

[DllImportAttribute("bass.dll", CharSet = CharSet.Unicode)]
public static bool BASS_SampleGetInfo(
	int handle,
	BASS_SAMPLE info
)

Parameters

handle
Type: SystemInt32
The sample handle.
info
Type: Un4seen.BassBASS_SAMPLE
An instance of the BASS_SAMPLE class to store the sample information at.

Return Value

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

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.

Examples

VB
Dim info As New BASS_SAMPLE()
Dim ok As Boolean = Bass.BASS_SampleGetInfo(sample, info)
BASS_SAMPLE info = new BASS_SAMPLE();
bool ok = Bass.BASS_SampleGetInfo(sample, info);
See Also

Reference