BASS_SampleGetInfo
Retrieves a sample's default attributes and other information.
BOOL BASS_SampleGetInfo(
HSAMPLE handle,
BASS_SAMPLE *info
);
Parameters
handle | The sample handle.
|
info | Pointer to a structure to receive the sample information.
|
Return value
If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_HANDLE | The handle is invalid.
|
Remarks
Use this function and BASS_SampleSetInfo to edit a sample's default attributes.
See also
BASS_SampleSetInfo, BASS_SAMPLE structure