BASS.NET API for the Un4seen BASS Audio Library

BassBASS_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.17.5
Syntax

[DllImportAttribute("bass")]
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

BASS_SAMPLE info = new BASS_SAMPLE();
bool ok = Bass.BASS_SampleGetInfo(sample, info);
See Also

Reference