DisconnectInstruments

Disconnects one instrument from another.

Synopsis

Err DisconnectInstruments (Item SrcIns, char *SrcName, Item DstIns,char *DstName)

Description

This procedure breaks a connection made by ConnectInstruments() between two instruments. If the connection was to a knob of the second instrument, the knob is once again available for tweaking.

Arguments

SrcIns
Item number of the source instrument.
SrcName
Name of the output port of the source instrument to break connection from.
DstIns
Item number of the destination instrument.
DstName
Name of the input port of the destination instrument to break connection to.

Return Value

The procedure returns a non-negative value if successful or an error code (a negative value) if an error occurs.

Implementation

SWI implemented in audio folio V20.

Associated Files

audio.h

See Also

ConnectInstrumentss()