summaryrefslogtreecommitdiff
path: root/src/sms/sms.h
diff options
context:
space:
mode:
authorJohn Glover <j@johnglover.net>2012-07-09 23:39:35 +0200
committerJohn Glover <j@johnglover.net>2012-07-09 23:39:35 +0200
commit86183d8a17c7561706d76afe678f49bee56e0000 (patch)
tree223155f2157b78ed0a7cdc025b4e5e417719559f /src/sms/sms.h
parentdeadc91509c507168fbd47999fed0d7c9ea693b9 (diff)
downloadsimpl-86183d8a17c7561706d76afe678f49bee56e0000.tar.gz
simpl-86183d8a17c7561706d76afe678f49bee56e0000.tar.bz2
simpl-86183d8a17c7561706d76afe678f49bee56e0000.zip
[sms, peak_detection] Add realtime analysis parameter, avoid performing non-real-time specific checks when running in realtime mode.
Diffstat (limited to 'src/sms/sms.h')
-rw-r--r--src/sms/sms.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sms/sms.h b/src/sms/sms.h
index c72b6c1..d1ac049 100644
--- a/src/sms/sms.h
+++ b/src/sms/sms.h
@@ -242,6 +242,7 @@ typedef struct SMSAnalysisParams
sfloat fPeakContToGuide; /*!< contribution of previous peak to current guide (between 0 and 1) */
sfloat fFundContToGuide; /*!< contribution of current fundamental to current guide (between 0 and 1) */
sfloat fFreqDeviation; /*!< maximum deviation from peak to peak */
+ int realtime; /*!< perform realtime analysis */
int iSamplingRate; /*! sampling rate of sound to be analyzed */
int iDefaultSizeWindow; /*!< default size of analysis window in samples */
int windowSize; /*!< the current window size */