public SetChannelBalance ( |
||
handle | ||
balance | int | |
return | void |
public void SetChannelBalance(SoundHandle handle, int balance)
{
lock (_gate)
{
var index = handle.Value % NumChannels;
if (_channels[index] == null || _channels[index].Handle.Value != handle.Value)
return;
_channels[index].Balance = balance;
}
}