Provide the volume function as callback method: This is easy to use e.g together with a lamda function!
More...
#include <VolumeControl.h>
|
| virtual float | limit (float in) |
| | limits the output to the range of 0 to 1.0
|
| |
Provide the volume function as callback method: This is easy to use e.g together with a lamda function!
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ CallbackVolumeControl()
◆ getVolumeFactor()
| virtual float getVolumeFactor |
( |
float |
volume | ) |
|
|
inlinevirtual |
determines a multiplication factor (0.0 to 1.0) from an input value (0.0 to 1.0).
Implements VolumeControl.
◆ limit()
| virtual float limit |
( |
float |
in | ) |
|
|
inlineprotectedvirtualinherited |
limits the output to the range of 0 to 1.0
◆ callback
| float(* callback) (float in) = nullptr |
|
protected |
The documentation for this class was generated from the following file: