From 0e2db9214ff3d6cbe4388224f405bc5d67d6a8d3 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 6 Oct 2018 11:13:03 +0200 Subject: Add (automatic) samplerate detection to the project. --- src/project.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/project.h') 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 instruments; std::list channels; -- cgit v1.2.3