Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
pip_audio.tci
Package: DSP-C6000-DM642DEMO.rar [view]
Upload User: dahaojd
Upload Date: 2008-01-29
Package Size: 14357k
Code Size: 1k
Category:
DSP program
Development Platform:
C/C++
- /*
- * ======== pip_audio.tci ========
- */
- /*
- * Import the board specific MEM creation, setup and placement
- */
- utils.importFile(platformName + "_ddk.tci");
- /*
- * Import the board specific IOM driver configuration
- */
- utils.importFile(platformName + "_udevCodec.tci");
- /*
- * Override the default params values for IOM uDevCodec
- */
- udevCodec.params =
- prog.extern(platformName.toUpperCase() + "_CODEC_DEVPARAMS");
- /*
- * ======== swiEcho ========
- */
- var swiEcho = tibios.SWI.create("swiEcho");
- swiEcho.fxn = prog.extern("echo");
- swiEcho.mailbox = 3;
- swiEcho.comment = "Echo audio data";
- /*
- * ======== pipRx ========
- */
- var pipRx = tibios.PIP.create("pipRx");
- pipRx.bufAlign = 32;
- pipRx.frameSize = 128;
- pipRx.numFrames = 2;
- pipRx.monitor = "reader";
- pipRx.notifyWriterFxn = prog.decl("PIO_rxPrime");
- pipRx.notifyWriterArg0 = prog.decl("pioRx");
- pipRx.notifyReaderFxn = prog.decl("SWI_andnHook");
- pipRx.notifyReaderArg0 = prog.decl("swiEcho");
- pipRx.notifyReaderArg1 = 0x1;
- /*
- * ======== pipTx ========
- */
- var pipTx = tibios.PIP.create("pipTx");
- pipTx.bufAlign = 32;
- pipTx.frameSize = 128;
- pipTx.numFrames = 2;
- pipTx.monitor = "writer";
- pipTx.notifyWriterFxn = prog.decl("SWI_andnHook");
- pipTx.notifyWriterArg0 = prog.decl("swiEcho");
- pipTx.notifyWriterArg1 = 0x2;
- pipTx.notifyReaderFxn = prog.decl("PIO_txPrime");
- pipTx.notifyReaderArg0 = prog.decl("pioTx");
- /* Disable TSK Manger */
- bios.disableTskManager(prog);