2016-03-20 23:58:45 +00:00
|
|
|
/*
|
|
|
|
* @brief Options controlling avmd module.
|
|
|
|
*
|
|
|
|
* @author Eric des Courtis
|
|
|
|
* @par Modifications: Piotr Gregor < piotrek.gregor gmail.com >
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2010-05-25 15:03:14 -04:00
|
|
|
#ifndef __OPTIONS_H__
|
|
|
|
#define __OPTIONS_H__
|
|
|
|
|
2016-03-20 23:58:45 +00:00
|
|
|
|
|
|
|
/* #define AVMD_DEBUG 1 */
|
|
|
|
|
|
|
|
/* define/undef this to enable/disable reporting of beep
|
|
|
|
* detection status after session ended */
|
|
|
|
#define AVMD_REPORT_STATUS 1
|
|
|
|
|
|
|
|
/* define/undefine this to enable/disable faster computation
|
|
|
|
* of arcus cosine - table will be created mapping floats
|
|
|
|
* to integers and returning arc cos values given these integer
|
|
|
|
* indexes into table */
|
|
|
|
/* #define AVMD_FAST_MATH */
|
|
|
|
|
|
|
|
/* define/undefine this to classify avmd beep detection as valid
|
|
|
|
* only when there is required number of consecutive elements
|
|
|
|
* in the SMA buffer without reset */
|
|
|
|
#define AVMD_REQUIRE_CONTINUOUS_STREAK 1
|
|
|
|
|
2010-05-25 15:03:14 -04:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|