3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
* Copyright (C) 2005 - 2009 Christian Schoenebeck * |
* Copyright (C) 2005 - 2010 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
245 |
std::map<String,DeviceCreationParameter*> DeviceParameters(); |
std::map<String,DeviceCreationParameter*> DeviceParameters(); |
246 |
|
|
247 |
/** |
/** |
248 |
* Add a chain of master effects to this AudioOutputDevice. |
* Add a chain of send effects to this AudioOutputDevice. |
249 |
* You actually have to add effects to that chain afterwards. |
* You actually have to add effects to that chain afterwards. |
250 |
*/ |
*/ |
251 |
EffectChain* AddMasterEffectChain(); |
EffectChain* AddSendEffectChain(); |
252 |
|
|
253 |
/** |
/** |
254 |
* Remove the master effect chain given by @a iChain . |
* Remove the send effect chain given by @a iChain . |
255 |
* |
* |
256 |
* @throws Exception - if given master effect chain doesn't exist |
* @throws Exception - if given send effect chain doesn't exist |
257 |
*/ |
*/ |
258 |
void RemoveMasterEffectChain(uint iChain) throw (Exception); |
void RemoveSendEffectChain(uint iChain) throw (Exception); |
259 |
|
|
260 |
/** |
/** |
261 |
* Returns master effect chain given by @a iChain or @c NULL if |
* Returns send effect chain given by @a iChain or @c NULL if |
262 |
* there's no such effect chain. |
* there's no such effect chain. |
263 |
*/ |
*/ |
264 |
EffectChain* MasterEffectChain(uint iChain) const; |
EffectChain* SendEffectChain(uint iChain) const; |
265 |
|
|
266 |
/** |
/** |
267 |
* Returns amount of master effect chains this AudioOutputDevice |
* Returns amount of send effect chains this AudioOutputDevice |
268 |
* currently provides. |
* currently provides. |
269 |
*/ |
*/ |
270 |
uint MasterEffectChainCount() const; |
uint SendEffectChainCount() const; |
271 |
|
|
272 |
|
/** |
273 |
|
* @deprecated This method will be removed, use AddSendEffectChain() instead! |
274 |
|
*/ |
275 |
|
EffectChain* AddMasterEffectChain() DEPRECATED_API; |
276 |
|
|
277 |
|
/** |
278 |
|
* @deprecated This method will be removed, use RemoveSendEffectChain() instead! |
279 |
|
*/ |
280 |
|
void RemoveMasterEffectChain(uint iChain) throw (Exception) DEPRECATED_API; |
281 |
|
|
282 |
|
/** |
283 |
|
* @deprecated This method will be removed, use SendEffectChain() instead! |
284 |
|
*/ |
285 |
|
EffectChain* MasterEffectChain(uint iChain) const DEPRECATED_API; |
286 |
|
|
287 |
|
/** |
288 |
|
* @deprecated This method will be removed, use SendEffectChainCount() instead! |
289 |
|
*/ |
290 |
|
uint MasterEffectChainCount() const DEPRECATED_API; |
291 |
|
|
292 |
protected: |
protected: |
293 |
SynchronizedConfig<std::set<Engine*> > Engines; ///< All sampler engines that are connected to the audio output device. |
SynchronizedConfig<std::set<Engine*> > Engines; ///< All sampler engines that are connected to the audio output device. |