dsPIC ? DSC Acoustic Echo Cancellation Library User’s Guide
EC_init
Description
Initializes the AEC algorithm.
Include
ec_api.h
Prototype
int EC_init(int* ptrStateX, int* xScratchMem, int order);
Arguments
ptrStateX
xScratchMem
order
Return Value
EC_OK
EC_ORDERERROR
a pointer to the state memory for this instance of AEC
a pointer to an area of scratch memory in X RAM used by
the AEC algorithm
an integer representing the filter order ( EC_ORDER )
If the value of EC_ORDER is correct
If the value of EC_ORDER is incorrect
Remarks
The value of order can be set to EC_ORDER , which is a macro in ec_api.h that
calculates the filter order based on the echo tail length required.
Code Example
int ecStateMemX [EC_XSTATE_MEM_SIZE_INT]
int ecScratchX [EC_XSCRATCH_MEM_SIZE_INT]
int ecScratchY [EC_YSCRATCH_MEM_SIZE_INT]
.
.
.
EC_init(ecStateMemX, ecScratchX, EC_ORDER);
_XBSS(2);
_XBSS(2);
_YBSS(2);
DS70134F-page 40
? 2004-2011 Microchip Technology Inc.
相关PDF资料
ACM-16 CABLE MODULE FR3 16BIT 40-DIP
ACM-2X8 ACTIVE CABLE MODULE DUAL 8 BIT
ACM-8 CABLE MODULE FR3 8BIT 28/32-DIP
ACS9510EVB EVALUATION BOARD FOR ACS9510
ACS9550EVB EVALUATION BOARD FOR ACS9550
ACS9593EVB EVALUATION BOARD FOR ACS9593
AD-CCES-CORP-UNL CORP LICENSE FOR CCES UNLIMITED
AD-UCFS-SPRD PRD LIC UCFS CORE CCES 1 PROD
相关代理商/技术参数
AC300031 制造商:Microchip Technology Inc 功能描述:ACOUSTIC ACCESSORY KIT SPEECH RECOGNITION - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:SPEECH RECOGNIZE KIT ACOUSTIC
AC3000-52 制造商:GE Energy (formerly Lineage Power) 功能描述:Front-End Power Supply 制造商:Lineage Power 功能描述:Front-End Power Supply
AC3000A 制造商:Black Box Corporation 功能描述:HD VIEW TRANSMITTER
AC3000A-R2 制造商:Black Box Corporation 功能描述:HD VIEW TRANSMITTER
AC3000A-R2-W1 制造商:Black Box Corporation 功能描述:1 YEAR WARRANTY FOR AC3000A-R2
AC3000A-R2-W3 制造商:Black Box Corporation 功能描述:3 YEAR WARRANTY FOR AC3000A-R2
AC3000A-W1 制造商:Black Box Corporation 功能描述:1 year warranty for AC3000A
AC3000A-W3 制造商:Black Box Corporation 功能描述:3 year warranty for AC3000A