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, 2006 Christian Schoenebeck * |
* Copyright (C) 2005 - 2008 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 * |
168 |
void RemoveAllEngineChangeListeners(); |
void RemoveAllEngineChangeListeners(); |
169 |
|
|
170 |
/** |
/** |
171 |
|
* Notifies listeners that the engine type of this sampler |
172 |
|
* channel is going to be changed soon. |
173 |
|
*/ |
174 |
|
void fireEngineToBeChanged(); |
175 |
|
|
176 |
|
/** |
177 |
* Notifies listeners that the engine |
* Notifies listeners that the engine |
178 |
* type of this sampler channel is changed. |
* type of this sampler channel is changed. |
179 |
*/ |
*/ |
539 |
void fireChannelCountChanged(int NewCount); |
void fireChannelCountChanged(int NewCount); |
540 |
|
|
541 |
/** |
/** |
542 |
|
* Notifies listeners that the specified sampler channel has just |
543 |
|
* been added. |
544 |
|
* @param pChannel The new sampler channel. |
545 |
|
*/ |
546 |
|
void fireChannelAdded(SamplerChannel* pChannel); |
547 |
|
|
548 |
|
/** |
549 |
|
* Notifies listeners that the specified sampler channel is |
550 |
|
* going to be removed soon. |
551 |
|
* @param pChannel sampler channel to be removed. |
552 |
|
*/ |
553 |
|
void fireChannelToBeRemoved(SamplerChannel* pChannel); |
554 |
|
|
555 |
|
/** |
556 |
* Notifies listeners that the number of audio output devices has been changed. |
* Notifies listeners that the number of audio output devices has been changed. |
557 |
* @param NewCount The new number of audio output devices. |
* @param NewCount The new number of audio output devices. |
558 |
*/ |
*/ |
598 |
void SetSampler(Sampler* pSampler) { this->pSampler = pSampler; } |
void SetSampler(Sampler* pSampler) { this->pSampler = pSampler; } |
599 |
|
|
600 |
/** |
/** |
601 |
|
* Invoked when the engine type of the specified sampler |
602 |
|
* channel is going to be changed soon. |
603 |
|
* @param ChannelId The numerical ID of the sampler channel |
604 |
|
*/ |
605 |
|
virtual void EngineToBeChanged(int ChannelId); |
606 |
|
|
607 |
|
/** |
608 |
* Invoked when the engine type of the |
* Invoked when the engine type of the |
609 |
* specified sampler channel is changed. |
* specified sampler channel is changed. |
610 |
* @param ChannelId The numerical ID of the sampler |
* @param ChannelId The numerical ID of the sampler |