150 |
* Sampler instance. |
* Sampler instance. |
151 |
*/ |
*/ |
152 |
uint Index(); |
uint Index(); |
153 |
|
|
154 |
|
/** Returns the sampler to which this channel belongs */ |
155 |
|
Sampler* GetSampler(); |
156 |
|
|
157 |
/** |
/** |
158 |
* Registers the specified listener to be notified |
* Registers the specified listener to be notified |
534 |
*/ |
*/ |
535 |
void Reset(); |
void Reset(); |
536 |
|
|
537 |
|
/** |
538 |
|
* Advise the FPU to treat denormal floating point numbers as |
539 |
|
* zero, to avoid severe performance penalty when dealing with |
540 |
|
* such extreme floating point values. |
541 |
|
* |
542 |
|
* @returns @c true if FPU supports it, @c false otherwise |
543 |
|
*/ |
544 |
|
static bool EnableDenormalsAreZeroMode(); |
545 |
|
|
546 |
protected: |
protected: |
547 |
/** |
/** |
548 |
* Notifies listeners that the number of sampler channels has been changed. |
* Notifies listeners that the number of sampler channels has been changed. |
577 |
void fireMidiDeviceCountChanged(int NewCount); |
void fireMidiDeviceCountChanged(int NewCount); |
578 |
|
|
579 |
/** |
/** |
580 |
|
* Notifies listeners that the supplied MIDI input device is |
581 |
|
* going to be destroyed soon. |
582 |
|
* @param pDevice MIDI input device to be destroyed |
583 |
|
*/ |
584 |
|
void fireMidiDeviceToBeDestroyed(MidiInputDevice* pDevice); |
585 |
|
|
586 |
|
/** |
587 |
|
* Notifies listeners that the supplied MIDI input device was |
588 |
|
* just created. |
589 |
|
* @param pDevice new MIDI input device |
590 |
|
*/ |
591 |
|
void fireMidiDeviceCreated(MidiInputDevice* pDevice); |
592 |
|
|
593 |
|
/** |
594 |
* Notifies listeners that the number of effect sends |
* Notifies listeners that the number of effect sends |
595 |
* on a particular sampler channel is changed. |
* on a particular sampler channel is changed. |
596 |
* @param ChannelId The numerical ID of the sampler channel. |
* @param ChannelId The numerical ID of the sampler channel. |