/////////////////////////////////////////////////////////////////////// // Filename: main.c // // Synopsis: Main program file for frame-based processing using DSP/BIOS // // Authors: Michael G. Morrow // // Date of Last Revision: 3/17/2004 // // Copyright (c): 2001-2004 by Michael G. Morrow. All rights reserved. /////////////////////////////////////////////////////////////////////// #include "frames.h" int main() { // initialize all buffers to 0 ZeroBuffers(); EdmaStartUp(); IRQ_globalEnable(); while(1) { if(IsBufferReady()) // process buffers in background ProcessBuffer(); } }