Class AudioLevelControl
The AudioLevelControl class is an AudioControl class that level-related controls do inherit from.
public class AudioLevelControl : AudioControl, IEquatable<AudioObject>, IEqualityOperators<AudioObject, AudioObject, bool>
- Inheritance
-
AudioLevelControl
- Implements
- Inherited Members
Properties
DecibelRange
A tuple that contains the minimum and maximum dB values the control can have.
public (double minimum, double maximum) DecibelRange { get; }
Property Value
DecibelValue
A float that represents the value of the volume control in dB. Note that the set of all float values in the dB range for the control is much larger than the set of actual values that the hardware can select. This means that the float range has a many to one mapping with the underlying hardware values. As such, setting a dB value will result in the control taking on the value nearest to what was set.
public float DecibelValue { get; set; }
Property Value
ScalarValue
A float that represents the value of the volume control. The range is between 0.0 and 1.0 (inclusive). Note that the set of all float values between 0.0 and 1.0 inclusive is much larger than the set of actual values that the hardware can select. This means that the float range has a many to one mapping with the underlying hardware values. As such, setting a scalar value will result in the control taking on the value nearest to what was set.
public float ScalarValue { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.