80 |
virtual String EngineName() = 0; |
virtual String EngineName() = 0; |
81 |
|
|
82 |
/** |
/** |
83 |
* Sets the mute state of this channel. |
* Sets the mute state of this channel. |
84 |
* |
* |
85 |
* @param state - specifies the mute state of this sampler channel. |
* @param state - specifies the mute state of this sampler channel. |
86 |
* @throws LinuxSamplerException - if state does not contain valid |
* @throws LinuxSamplerException - if state does not contain valid |
87 |
* value. |
* value. |
88 |
*/ |
*/ |
89 |
void SetMute(int state) throw (LinuxSamplerException); |
void SetMute(int state) throw (LinuxSamplerException); |
90 |
|
|
91 |
/** |
/** |
92 |
* Determines whether this channel is muted. |
* Determines whether this channel is muted. |
93 |
* |
* |
94 |
* @returns 1 if the channel is muted, 0 if the channel is not muted |
* @returns 1 if the channel is muted, 0 if the channel is not muted |
95 |
* and -1 if the channel is muted because of presence of at least |
* and -1 if the channel is muted because of presence of at least |
96 |
* one solo channel. |
* one solo channel. |
97 |
*/ |
*/ |
98 |
int GetMute(); |
int GetMute(); |
99 |
|
|
100 |
/** |
/** |
101 |
* Sets the solo state of this channel. |
* Sets the solo state of this channel. |
102 |
* |
* |
103 |
* @param solo - specifies whether this is a solo channel. |
* @param solo - specifies whether this is a solo channel. |
104 |
*/ |
*/ |
105 |
void SetSolo(bool solo); |
void SetSolo(bool solo); |
106 |
|
|
107 |
/** |
/** |
108 |
* Determines whether this is a solo channel. |
* Determines whether this is a solo channel. |
109 |
* |
* |
110 |
* @returns true if this is a solo channel, false otherwise. |
* @returns true if this is a solo channel, false otherwise. |
111 |
*/ |
*/ |
112 |
bool GetSolo(); |
bool GetSolo(); |
113 |
|
|
114 |
int iSamplerChannelIndex; ///< FIXME: nasty hack, might be removed (should be 'virtual EngineChannel* EngineChannel() = 0;', but due to cyclic dependencies only a void* solution would be possible ATM) |
int iSamplerChannelIndex; ///< FIXME: nasty hack, might be removed (should be 'virtual EngineChannel* EngineChannel() = 0;', but due to cyclic dependencies only a void* solution would be possible ATM) |