/*
 * Copyright(c) 2021 Daniel Kuschny
 * Licensed under the MPL-2.0 license. See https://github.com/CoderLine/alphaTab/blob/develop/LICENSE for full license information.
 */

namespace BardMusicPlayer.Siren.AlphaTab.Audio.Synth.Midi.Event;

internal enum SystemCommonTypeEnum
{
    SystemExclusive = 0xF0,
    MtcQuarterFrame = 0xF1,
    SongPosition = 0xF2,
    SongSelect = 0xF3,
    TuneRequest = 0xF6,
    SystemExclusive2 = 0xF7
}

internal abstract class SystemCommonEvent : MidiEvent
{
    public override int Channel => -1;

    public override MidiEventType Command => (MidiEventType)(Message & 0x00000FF);

    protected SystemCommonEvent(int delta, byte status, byte data1, byte data2)
        : base(delta, status, data1, data2)
    {
    }
}