DSPRelated.com
Forums

RTDX_read symbol referencing error

Started by Chee Hoe February 27, 2008
Hi, can anyone please help me. I have been trying to solve this
problem for a long time but still cant the solution. I'm using ccs
2.2. I doing a project of a audio realtime equalizer with vb and i
can't solve the rtdx_read problem. Thanks in advance.

#include "rtdx_vbloopcfg.h"
#include "dsk6416_aic23.h" //codec-DSK support file
#include
#include "target.h"
Uint32 fs=DSK6416_AIC23_FREQ_48KHZ; //set sampling rate
int gain = 1;

RTDX_CreateInputChannel(control_channel);

interrupt void c_int11() //interrupt service routine
{
short sample_data;

sample_data = input_sample(); //input data
output_sample(gain*sample_data); //output data
return;
}

void main()
{
comm_intr(); //init DSK, codec, McBSP
TARGET_INITIALIZE();
RTDX_enableInput(&control_channel);

while(1) //infinite loop
{
if(!RTDX_channelBusy(&control_channel))
RTDX_readNB(&control_channel, &gain, sizeof(gain));
}
}

Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467