Deletes a sample and frees its resources.
Err UnloadSample( Item SampleItem )
This function deletes a sample from memory, freeing its resources. If the sample was created using a custom memory-allocation call, UnloadSample()
calls a corresponding custom memory-deallocation call to free the sample's memory.
The function returns 0 if successful or an error code (a negative value) if an error occurs.
Folio call implemented in Audio folio V20.
audio.h
''%%AttachSample%%''(),DetachSample(), SetAudioItemInfo(), LoadSample(), DebugSample(), CreateSample(), ScanSample(), GetAudioItemInfo()