BASS_SampleCreateDone

Completes the creation of a custom generated sample.

HSAMPLE WINAPI BASS_SampleCreateDone();

Return value
If successful, the new sample's handle is returned, else 0 is returned. Use BASS_ErrorGetCode to get the error code.

Error codes
BASS_ERROR_MEMThere is insufficent memory.
BASS_ERROR_UNKNOWNSome other mystery problem!

Remarks
Use BASS_SampleGetInfo and BASS_SampleSetInfo to set the default attributes (volume, etc...) of the sample.

See also
BASS_SampleCreate, BASS_SampleFree, BASS_SampleGetInfo, BASS_SampleLoad, BASS_SamplePlay, BASS_SamplePlay3D, BASS_SamplePlay3DEx, BASS_SamplePlayEx