- leftGain
- output gain for the left channel.
- rightGain
- output gain for the right channel
- leftVolume
- output attenuation for the left channel. A value of 0.0f is silence, a value of 1.0f is no attenuation.
- rightVolume
- output attenuation for the right channel
Documentation for this section has not yet been entered.
Sets the specified left and right output gain values on the AudioTrack.
Gain values are clamped to the closed interval [0.0, max] where max is the value of AudioTrack.MaxVolume. A value of 0.0 results in zero gain (silence), and a value of 1.0 means unity gain (signal unchanged). The default value is 1.0 meaning unity gain.
The word "volume" in the API name is historical; this is actually a linear gain.