summaryrefslogtreecommitdiff
path: root/libs/evoral
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-12-14 11:37:35 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2016-12-14 11:46:26 +0000
commit28caef7d81d5b5a7fee1832d6b2a070154e06941 (patch)
tree826010ac969e86e830cc50529bd33631aeeadbb7 /libs/evoral
parenteb58c4108f9ab7ab04fda7913042a0350dff68c7 (diff)
add track and instrument name members to smf_track_t
Diffstat (limited to 'libs/evoral')
-rw-r--r--libs/evoral/src/libsmf/smf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/evoral/src/libsmf/smf.h b/libs/evoral/src/libsmf/smf.h
index 194319d933..2be80a571c 100644
--- a/libs/evoral/src/libsmf/smf.h
+++ b/libs/evoral/src/libsmf/smf.h
@@ -278,7 +278,9 @@ struct smf_track_struct {
int track_number;
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. */
void *file_buffer;
size_t file_buffer_length;