BASS_SampleFree


Frees a sample's resources.

BOOL BASS_SampleFree(
    HSAMPLE handle
);

Parameters

handleThe sample handle.

Return value

If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_HANDLEhandle is not valid.

See also

BASS_SampleCreate, BASS_SampleLoad