aboutsummaryrefslogtreecommitdiffstats
path: root/src/odr-padenc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/odr-padenc.h')
-rw-r--r--src/odr-padenc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/odr-padenc.h b/src/odr-padenc.h
index 37c125f..f6f037c 100644
--- a/src/odr-padenc.h
+++ b/src/odr-padenc.h
@@ -43,6 +43,8 @@
#include "dls.h"
#include "sls.h"
+using std::chrono::steady_clock;
+
// --- PadEncoderOptions -----------------------------------------------------------------
struct PadEncoderOptions {
@@ -64,6 +66,9 @@ struct PadEncoderOptions {
sls_dir(NULL),
output("/tmp/pad.fifo")
{}
+
+ bool DLSEnabled() {return !dls_files.empty();}
+ bool SLSEnabled() {return sls_dir;}
};