mirror of https://github.com/thesofproject/sof.git
detector: set default preamble time to 0
With this patch default preamble is set to zero meaning KWD is activated from start, no delay. Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
This commit is contained in:
parent
b6cea3369f
commit
e174fbddb8
|
@ -29,8 +29,8 @@
|
||||||
#define ACTIVATION_DEFAULT_THRESHOLD_S16 \
|
#define ACTIVATION_DEFAULT_THRESHOLD_S16 \
|
||||||
((int16_t)((INT16_MAX) * (ACTIVATION_DEFAULT_THRESHOLD)))
|
((int16_t)((INT16_MAX) * (ACTIVATION_DEFAULT_THRESHOLD)))
|
||||||
|
|
||||||
/* number of samples to be treated as a full keyphrase */
|
/* default number of samples before detection is activated */
|
||||||
#define KEYPHRASE_DEFAULT_PREAMBLE_LENGTH (30 * 1024)
|
#define KEYPHRASE_DEFAULT_PREAMBLE_LENGTH 0
|
||||||
|
|
||||||
struct comp_data {
|
struct comp_data {
|
||||||
struct sof_detect_test_config config;
|
struct sof_detect_test_config config;
|
||||||
|
|
Loading…
Reference in New Issue