diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-20 15:44:20 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-20 15:44:20 -0400 |
commit | d263cf7ded76d510addd90b036befd4bb7eea9d1 (patch) | |
tree | 25f8f711f6c2a259cc8ad5c9c0d18a2a89da116c /libs/evoral/evoral | |
parent | ced4378d0914bcfb926267772c45d1d23f3bed38 (diff) |
remove _file_path member from Evoral::SMF
Diffstat (limited to 'libs/evoral/evoral')
-rw-r--r-- | libs/evoral/evoral/SMF.hpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libs/evoral/evoral/SMF.hpp b/libs/evoral/evoral/SMF.hpp index 9d43426a8f..fd7263b5c4 100644 --- a/libs/evoral/evoral/SMF.hpp +++ b/libs/evoral/evoral/SMF.hpp @@ -58,8 +58,6 @@ public: int create(const std::string& path, int track=1, uint16_t ppqn=19200) THROW_FILE_ERROR; void close() THROW_FILE_ERROR; - const std::string& file_path() const { return _file_path; }; - void seek_to_start() const; int seek_to_track(int track); @@ -71,17 +69,13 @@ public: void begin_write(); void append_event_delta(uint32_t delta_t, uint32_t size, const uint8_t* buf, event_id_t note_id); - void end_write() THROW_FILE_ERROR; + void end_write(std::string const &) THROW_FILE_ERROR; void flush() {}; double round_to_file_precision (double val) const; -protected: - void set_path (const std::string& p); - private: - std::string _file_path; smf_t* _smf; smf_track_t* _smf_track; bool _empty; ///< true iff file contains(non-empty) events |