DetachSample

Disconnects sample from instrument.

Synopsis

Err DetachSample( Item Attachment )

Description

This function disconnects a sample from an instrument, deletes the attachment item connecting the two, and frees the attachment's resources.

Arguments

Attachment
The item number of the attachment.

Return Value

The function returns 0 if successful or an error code (a negative value) if an error occurs.

Implementation

Folio call implemented in Audio folio V20.

Associated Files

audio.h

See Also

AttachSample(), SetAudioItemInfo(), LoadSample(), UnloadSample(), DebugSample(), CreateSample(), ScanSample(), GetAudioItemInfo()