Disconnects sample from instrument.
Err DetachSample( Item Attachment )
This function disconnects a sample from an instrument, deletes the attachment item connecting the two, and frees the attachment's resources.
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
(), SetAudioItemInfo(), LoadSample(), UnloadSample(), DebugSample(), CreateSample(), ScanSample(), GetAudioItemInfo()