diff options
author | Damien Zammit <damien@zamaudio.com> | 2019-06-22 10:50:14 +1000 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2019-06-22 10:50:14 +1000 |
commit | 3bb5df2f3b38ba922daddecc698528db495940a6 (patch) | |
tree | 9720c435685543973ff8724a50050806678a5a49 /ptformat | |
parent | 73e89f4563f7dacfd498d8d0514d2ae1dbee739f (diff) |
Fix erase() calls for vectors && add path getter
Diffstat (limited to 'ptformat')
-rw-r--r-- | ptformat/ptformat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ptformat/ptformat.h b/ptformat/ptformat.h index 4707d12..26e9dd9 100644 --- a/ptformat/ptformat.h +++ b/ptformat/ptformat.h @@ -207,6 +207,7 @@ public: uint8_t version () const { return _version; } int64_t sessionrate () const { return _sessionrate ; } + const std::string& path () { return _path; } const std::vector<wav_t>& audiofiles () const { return _audiofiles ; } const std::vector<region_t>& regions () const { return _regions ; } @@ -225,7 +226,7 @@ private: std::vector<track_t> _tracks; std::vector<track_t> _miditracks; - std::string path; + std::string _path; unsigned char* _ptfunxored; uint64_t _len; |