13
0

add track and instrument name members to smf_track_t

This commit is contained in:
Paul Davis 2016-12-14 11:37:35 +00:00
parent eb58c4108f
commit 28caef7d81

View File

@ -278,7 +278,9 @@ struct smf_track_struct {
int track_number; int track_number;
size_t number_of_events; size_t number_of_events;
/* this will be set from the SMF file if present, during loading */
char* name;
char* instrument;
/** These are private fields using only by loading and saving routines. */ /** These are private fields using only by loading and saving routines. */
void *file_buffer; void *file_buffer;
size_t file_buffer_length; size_t file_buffer_length;