diff data/model/EditableDenseThreeDimensionalModel.h @ 1040:a1cd5abcb38b cxx11

Introduce and use a samplerate type
author Chris Cannam
date Wed, 04 Mar 2015 12:01:04 +0000
parents cc27f35aa75c
children 0fd3661bcfff
line wrap: on
line diff
--- a/data/model/EditableDenseThreeDimensionalModel.h	Tue Mar 03 17:09:19 2015 +0000
+++ b/data/model/EditableDenseThreeDimensionalModel.h	Wed Mar 04 12:01:04 2015 +0000
@@ -42,7 +42,7 @@
         BasicMultirateCompression
     };
 
-    EditableDenseThreeDimensionalModel(int sampleRate,
+    EditableDenseThreeDimensionalModel(sv_samplerate_t sampleRate,
 				       int resolution,
 				       int yBinCount,
                                        CompressionType compression,
@@ -50,7 +50,7 @@
 
     virtual bool isOK() const;
 
-    virtual int getSampleRate() const;
+    virtual sv_samplerate_t getSampleRate() const;
     virtual sv_frame_t getStartFrame() const;
     virtual sv_frame_t getEndFrame() const;
 
@@ -217,7 +217,7 @@
     QString m_binValueUnit;
 
     sv_frame_t m_startFrame;
-    int m_sampleRate;
+    sv_samplerate_t m_sampleRate;
     int m_resolution;
     int m_yBinCount;
     CompressionType m_compression;