27#include "../common/global.h"
28#include "../drivers/audio/AudioChannel.h"
Channel Interface for LinuxSampler Sampler Engines.
Exception that will be thrown in NON REAL TIME PARTS of the LinuxSampler application.
Engine Channel Effect Send.
void SetDestinationChannel(int SrcChan, int DstChan)
Alters the routing of an audio channel.
void SetMidiController(uint8_t MidiCtrl)
Alter the MIDI controller number which should alter the effect send's send level.
int iDestinationEffectChainPos
EngineChannel * pEngineChannel
int iDestinationEffectChain
uint8_t MidiController()
Returns the MIDI controller number which can alter the effect send's send level.
void SetName(String Name)
Sets the name of this effect send entity.
void UpdateChannels()
Should be called by the engine channel whenever the amount of audio channel has changed,...
FxSend(EngineChannel *pEngineChannel, uint8_t MidiCtrl, String Name="")
Constructor.
uint Id()
Returns the (at least sampler-channel-) unique ID of the effect send instance.
void Reset()
Reset send level to the default send level (i.e.
uint8_t MidiFxSendController
float Level()
The effect send's current send level ( usually a value between 0.0f and 1.0f ).
String Name()
Returns the (optional) name of this effect send entity.
int DestinationMasterEffect() const DEPRECATED_API
void SetDestinationMasterEffect(int iChain, int iChainPos) DEPRECATED_API
int DestinationChannel(int SrcChan)
Returns the audio output device's audio channel to which effect send's channel SrcChan is currently r...
void SetLevel(float f)
Alter the effect send's send level ( usually a value between 0.0f and 1.0f ).
int DestinationEffectChainPosition() const
Index of the send effect of the send effect chain given by DestinationEffectChain(),...
int DestinationEffectChain() const
Index of the send effect chain this FX send is routed to or -1 if FX send is not routed to a send eff...
void SetDestinationEffect(int iChain, int iChainPos)
Route this FX send to the given send effect given by index iChainPos of the send effect chain given b...
int DestinationMasterEffectChain() const DEPRECATED_API
void SetInfoChanged(bool b)
Sets whether the effect send's settings are changed.
std::vector< int > Routing
bool IsInfoChanged()
Determines whether the effect send's settings are changed.
Wraps as a kind of pointer class some data object shared with other threads, to protect / synchronize...