index f16ead78dd75ba9be7203a8da6db217638d1501f..f70c07ae6d5ca118fd24e6452088a86ebba34c83 100644 (file)
/*
- * Copyright (c) 2016, Texas Instruments Incorporated
+ * Copyright (c) 2017, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
sysConfig_t sysConfig = {
SYS_MICS_MAX, /* #microphones */
SYS_VMICS_MAX, /* #virtual microphones */
+ 5, /* 5ms ASNR delay */
+ { 12, 9, 6}, /* ASNR band1=12dB, band2=9dB, band3=6dB */
+ TRUE, /* Enable ASNR */
FALSE, /* Do not use file I/O to load files (must use GEL to load into memory) */
- TRUE /* Use default angles for microphone configurations */
+ TRUE, /* Use default angles for microphone configurations */
+ FALSE, /* Enable VAD */
+ -50, /* drc expansion knee point in dBm0 (dBFS is dBm0-3dB */
+ 6, /* drc max gain in dB */
+ FALSE /* Disable DRC */
};
/* Global FILE I/O Configuration Structure (must be configured even when file I/O not used */
/* Miocrophone input files names (in case we want to use FILE I/O to load into memory */
char *filNames[FIL_MAX] = {
+#if FIL_MAX==8
"../../../common/t8/y16L8g3m7090_1.pcm",
"../../../common/t8/y16L8g3m7090_2.pcm",
"../../../common/t8/y16L8g3m7090_3.pcm",
"../../../common/t8/y16L8g3m7090_6.pcm",
"../../../common/t8/y16L8g3m7090_7.pcm",
"../../../common/t8/y16L8g3m7090_8.pcm"
+#else
+"../../../common/t8/y16L7g3m7090_1.pcm",
+"../../../common/t8/y16L7g3m7090_2.pcm",
+"../../../common/t8/y16L7g3m7090_3.pcm",
+"../../../common/t8/y16L7g3m7090_4.pcm",
+"../../../common/t8/y16L7g3m7090_5.pcm",
+"../../../common/t8/y16L7g3m7090_6.pcm",
+"../../../common/t8/y16L7g3m7090_7.pcm",
+#endif
};
/* Acoustic environment */
sysBfCreate(); /* Create beamformers */
sysAsnrCreate(); /* Create ASNR's */
sysMssCreate(); /* Create MSS */
- sysVauCreate(); /* Create VAU */
+#if (SYS_USE_DRC)
+ sysDrcCreate(); /* Create DRC */
+#endif
+ //sysVauCreate(); /* Create VAU */
BIOS_start();