AlphaTab.Audio.MidiUtils.ApplyDot C# (CSharp) Метод

ApplyDot() публичный статический Метод

public static ApplyDot ( int ticks, bool doubleDotted ) : int
ticks int
doubleDotted bool
Результат int
        public static int ApplyDot(int ticks, bool doubleDotted)
        {
            if (doubleDotted)
            {
                return ticks + (ticks / 4) * 3;
            }
            return ticks + ticks / 2;
        }