コード例 #1
0
 // Token: 0x06003361 RID: 13153 RVA: 0x000173E8 File Offset: 0x000155E8
 protected override void ReadContent(MidiReader reader, ReadingSettings settings, int size)
 {
     this.MicrosecondsPerQuarterNote = (long)((ulong)reader.Read3ByteDword());
 }
コード例 #2
0
ファイル: SetTempoEvent.cs プロジェクト: ChrisHerb/drywetmidi
 /// <summary>
 /// Reads content of a MIDI meta event.
 /// </summary>
 /// <param name="reader">Reader to read the content with.</param>
 /// <param name="settings">Settings according to which the event's content must be read.</param>
 /// <param name="size">Size of the event's content.</param>
 protected override void ReadContent(MidiReader reader, ReadingSettings settings, int size)
 {
     MicrosecondsPerBeat = reader.Read3ByteDword();
 }