public void StopHandle(SoundHandle handle)
{
lock (_gate)
{
// Simply ignore stop requests for handles of sounds that already terminated
var index = handle.Value % NumChannels;
if (_channels[index] == null || _channels[index].Handle.Value != handle.Value)
return;
_channels[index] = null;
}
}