=> | R0 = | balance (-128 for no change, 0=centre, -127=left, 127=right) |
<= | R0 = | old balance setting |
The parameter is from -127 (full left bias) through 0 (centre = normal) to +127 (full right bias). Other values are undefined. For balances <= 0 the left channel is played at full volume and the right channel is attenuated according to the distance from zero. At -127 the right channel is silent. Similarly for balances >=0 the right channel is played at full volume and the left channel is attenuated.
Note that full volume in the previous paragraph is actually the current volume setting.
-128 is used to read the balance without changing it.
[ Parent ] [ Manual root ]