diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-12-14 11:42:54 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-12-14 11:46:26 +0000 |
commit | d2fd01c2415c911a07598f4c84a457109885fe70 (patch) | |
tree | 0c1a7808f22a2b0cddb05d83e4ad30e07416aa95 /libs/evoral/evoral | |
parent | 7e0dbd06dbecd400a9ea3b05566b757982596e69 (diff) |
add API to Evoral::SMF to retrieve all track/instrument names for use when importing
Diffstat (limited to 'libs/evoral/evoral')
-rw-r--r-- | libs/evoral/evoral/SMF.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/evoral/evoral/SMF.hpp b/libs/evoral/evoral/SMF.hpp index 0cbd5bb638..1a9d2c1084 100644 --- a/libs/evoral/evoral/SMF.hpp +++ b/libs/evoral/evoral/SMF.hpp @@ -78,8 +78,10 @@ public: bool is_type0 () const { return _type0; } std::set<uint8_t> channels () const { return _type0channels; } + void track_names (std::vector<std::string>&) const; + void instrument_names (std::vector<std::string>&) const; -private: + private: smf_t* _smf; smf_track_t* _smf_track; bool _empty; ///< true iff file contains(non-empty) events |