struct SpecialEvent

Struct used to store certain events. More...

Definition#include <player.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

This struct stores text, lyrics and change tempo events among others.

It includes the main information for an event. That is, the absolute millisecond at which this event is played (from the beginning of the song), the delta milliseconds from the previous SpecialEvent, an ID, etc.

This struct is used as nodes for a linked list, which you can get using MidiPlayer::specialEvents().

int id

id

ulong diffmilliseconds

diffmilliseconds

ulong absmilliseconds

absmilliseconds

int ticks

ticks

int type

type

char text[1024]

text[1024]

ulong tempo

tempo

int num

num

int den

den

struct SpecialEvent * next

next