|
wavelength 1.0.0
|
Ramp of the volume of a track. More...
#include <mixtrack.h>


Public Member Functions | |
| VolumeRamp (MixTrack *pOwner) | |
| Construct a ramp at 0 on the scheduler of the front end. | |
| ~VolumeRamp () override | |
| Stop the ramp. | |
| void | Apply (float fValue, int nTick) override |
| Set the volume of the track. | |
| Public Member Functions inherited from Ramp | |
| Ramp (Scheduler *pScheduler, float fValue) | |
| Construct a ramp that holds a value. | |
| virtual | ~Ramp () |
| Stop the ramp. | |
| void | MoveTo (int nTicks, int nStepTicks, float fTarget) |
| Move from the current value to a target. | |
| void | Move (int nTicks, int nStepTicks, float fFrom, float fTarget) |
| Move from one value to another. | |
| void | Stop () |
| Withdraw the next step, leaving the value where it is. | |
| float | GetValue () const |
| Report the current value. | |
Ramp of the volume of a track.
Each new value goes to MixTrack::SetVolume().
The RTTI includes the class name and records Ramp as the base. The object is 0x3c bytes.
|
explicit |
Construct a ramp at 0 on the scheduler of the front end.
No out-of-line body exists. The constructor of MixTrack expands it inline.
| pOwner | The track. |
|
override |
Stop the ramp.
|
overridevirtual |
Set the volume of the track.
| fValue | The volume. |
| nTick | The tick. The routine does not read it. |
Implements Ramp.