BASS_SampleGetInfo

Retrieves a sample's default attributes and other information.

BOOL BASS_SampleGetInfo(
    HSAMPLE handle,
    BASS_SAMPLE *info
);

Parameters

handleThe sample handle.
infoPointer 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_HANDLEThe handle is invalid.

Remarks

Use this function and BASS_SampleSetInfo to edit a sample's default attributes.

See also

BASS_SampleSetInfo, BASS_SAMPLE structure