Artemis.Modules.Effects.AudioVisualizer.Utilities.SampleAggregator.IsPowerOfTwo C# (CSharp) Method

IsPowerOfTwo() private method

private IsPowerOfTwo ( int x ) : bool
x int
return bool
        private bool IsPowerOfTwo(int x)
        {
            return (x & (x - 1)) == 0;
        }