diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-10-06 11:13:03 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-10-06 11:13:03 +0200 |
commit | 0e2db9214ff3d6cbe4388224f405bc5d67d6a8d3 (patch) | |
tree | 8c10a15879a346b2697e95f5ea3d841f797e1f05 /src/project.h | |
parent | 5584b748a7e75a1f8b582ba9227dc08b2b2c5649 (diff) |
Add (automatic) samplerate detection to the project.
Diffstat (limited to 'src/project.h')
-rw-r--r-- | src/project.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/project.h b/src/project.h index b3456f6..3e2b886 100644 --- a/src/project.h +++ b/src/project.h @@ -202,7 +202,10 @@ public: void setExportPath(const QString& prefix); QString getProjectDescription() const; - void setProjectDescription(const QString& prefix); + void setProjectDescription(const QString& description); + + double getProjectSamplerate() const; + void setProjectSamplerate(double samplerate); Instrument& getInstrument(int id); int createInstrument(); @@ -228,6 +231,7 @@ private: QString raw_file_root; QString export_path; QString description; + double samplerate{-1.0}; std::list<Instrument> instruments; std::list<Channel> channels; |