HISE Docs

RoutingMatrix


Class methods

addConnection

adds a connection to the given channels.

RoutingMatrix.addConnection(int sourceIndex, int destinationIndex)



addSendConnection

adds a send connection to the given channels.

RoutingMatrix.addSendConnection(int sourceIndex, int destinationIndex)



clear

Removes all connections.

RoutingMatrix.clear()



getDestinationChannelForSource

Returns the output channel that is mapped to the given input channel (or -1).

RoutingMatrix.getDestinationChannelForSource(var sourceIndex)



getSourceChannelsForDestination

Returns one or multiple input channels that is mapped to the given output channel (or -1).

RoutingMatrix.getSourceChannelsForDestination(var destinationIndex)



getSourceGainValue

Gets the current peak value of the given channelIndex.

RoutingMatrix.getSourceGainValue(int channelIndex)



removeConnection

Removes the connection from the given channels.

RoutingMatrix.removeConnection(int sourceIndex, int destinationIndex)



removeSendConnection

removes the send connection.

RoutingMatrix.removeSendConnection(int sourceIndex, int destinationIndex)



setNumChannels

Sets the amount of channels (if the matrix is resizeable).

RoutingMatrix.setNumChannels(int numSourceChannels)