- level
- linear send level
Documentation for this section has not yet been entered.
Sets the send level of the audio track to the attached auxiliary effect AudioTrack.AttachAuxEffect(int). Effect levels are clamped to the closed interval [0.0, max] where max is the value of AudioTrack.MaxVolume. A value of 0.0 results in no effect, and a value of 1.0 is full send.
By default the send level is 0.0f, so even if an effect is attached to the player this method must be called for the effect to be applied.
Note that the passed level value is a linear scalar. UI controls should be scaled logarithmically: the gain applied by audio framework ranges from -72dB to at least 0dB, so an appropriate conversion from linear UI input x to level is: x == 0 -> level = 0 0 < x <= R -> level = 10^(72*(x-R)/20/R)