diff options
Diffstat (limited to 'src/engine/SMFReader.hpp')
-rw-r--r-- | src/engine/SMFReader.hpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/engine/SMFReader.hpp b/src/engine/SMFReader.hpp index d13599e..7147f38 100644 --- a/src/engine/SMFReader.hpp +++ b/src/engine/SMFReader.hpp @@ -52,10 +52,9 @@ public: explicit SMFReader(const std::string filename = ""); ~SMFReader(); - bool open(const std::string& filename) throw (std::logic_error, - UnsupportedTime); + bool open(const std::string& filename); - bool seek_to_track(unsigned track) throw (std::logic_error); + bool seek_to_track(unsigned track); uint16_t type() const { return _type; } uint16_t ppqn() const { return _ppqn; } @@ -64,12 +63,11 @@ public: int read_event(size_t buf_len, uint8_t* buf, uint32_t* ev_size, - uint32_t* ev_delta_time) - throw (std::logic_error, PrematureEOF, CorruptFile); + uint32_t* ev_delta_time); void close(); - static uint32_t read_var_len(FILE* fd) throw (PrematureEOF); + static uint32_t read_var_len(FILE* fd); protected: /** size of SMF header, including MTrk chunk header */ |