summaryrefslogtreecommitdiff
path: root/src/configuration.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configuration.hpp')
-rw-r--r--src/configuration.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configuration.hpp b/src/configuration.hpp
index dec0e0c..42776ad 100644
--- a/src/configuration.hpp
+++ b/src/configuration.hpp
@@ -32,6 +32,7 @@ private:
DataType datatype_; /* input data type (does not cover complex/real discrimination) */
bool has_complex_input_; /* true if input is complex */
double prescale_factor_; /* value to scale input with before applying other transformations */
+ std::size_t sleep_for_input_; /* number of milliseconds to sleep when input is not ready */
std::size_t fft_width_; /* size of FFT window, in values */
std::size_t fft_stride_; /* stride of FFT window, in values */
@@ -110,6 +111,7 @@ public:
auto GetDataType() const { return datatype_; }
auto HasComplexInput() const { return has_complex_input_; }
auto GetPrescaleFactor() const { return prescale_factor_; }
+ auto GetSleepForInput() const { return sleep_for_input_; }
/* FFT getters */
auto GetFFTWidth() const { return fft_width_; }