src/table.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "global.h"
Go to the source code of this file.
Typedef Documentation
Function Documentation
This function allocates memory for three structures: (1) the list of tempo changes; (2) the main table of the program; (3) a temporary structure called 'events'.
void insert_tempo |
( |
int |
delta_time, |
|
|
int |
tempo | |
|
) |
| | |
This function inserts an element into the list of tempo changes.
This function prints the list of tempo changes.
void insert_table |
( |
int |
track, |
|
|
int |
delta_time, |
|
|
unsigned char * |
bytes | |
|
) |
| | |
This function inserts an element into the table that stores the score.
void print_table |
( |
int |
track |
) |
|
This function prints just one line of the table that stores the score.
int fix_soloist_track |
( |
|
) |
|
This function cleans the track that store the soloist track. It removes all the events different than 'Note On'.
This function deallocates the memory of three structures: (1) the list of tempo changes; (2) the main table of the program; (3) a temporary structure called 'events'.
Variable Documentation