Contents

convertToScalar(fromDecibels:)

Convert a volume dB value to the equivalent scalar value.

Declaration

func convertToScalar(fromDecibels decibels: Float) throws -> Float

Parameters

  • decibels:

    A Float representing the volume dB value to convert.

Return Value

A Float representing the equivalent scalar value.