convertToDecibels(fromScalar:)
Convert a volume scalar value to the equivalent dB value.
Declaration
func convertToDecibels(fromScalar scalar: Float) throws -> FloatParameters
- scalar:
A Float representing the volume scalar value to convert.
Return Value
A Float representing the equivalent dB value.