]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/audio-preprocessing.git/blobdiff - common/components/sys.h
add realtime_demo_bios/k2g for CMB
[processor-sdk/audio-preprocessing.git] / common / components / sys.h
index 0b7882a0d921f882fa4c343f921f493d3588793d..d0fa142bda91aebcce35c2ce7eca30f583d70b92 100644 (file)
@@ -47,7 +47,9 @@
 \r
 #define SYS_MICS_MAX          7       /* Maximum number of microphones in the system */\r
 #define SYS_VMICS_MAX         12      /* Maximum number of virtual microphones in the system */\r
+#define SYS_ADC_FS_HZ         48000   /* ADC sampling rate in Hz */\r
 #define SYS_FS_HZ             16000   /* Sampling rate in Hz */\r
+#define SYS_FS_RATIO          SYS_ADC_FS_HZ/SYS_FS_HZ   /* Sampling rate ratio */\r
 #define SYS_FRAME_DURATION_MS 10      /* Frame duration in ms */\r
 #define SYS_FRAME_LENGTH      (1L*SYS_FS_HZ*SYS_FRAME_DURATION_MS/1000)             /* Frame length in samples */\r
 #define SYS_FRAME_SIZE        (TYP_LINSAMPLE_SIZE*SYS_FRAME_LENGTH/TYP_TWORD_SIZE)  /* Frame size in bytes */\r