AnsweredAssumed Answered

VDSP custom data type error

Question asked by titan.amit on Sep 17, 2010
Latest reply on Sep 17, 2010 by dsmtoday

I am trying to port a mp3 decoder to the adsp 21369. The mp3 decoder is working fine with gcc on linux, but the same code reports a no storage class for a typedef i am using. I am unable to find a reason for the same, please help.

 

This is the code that is reporting the error.

 

typedef short PCM[2][SSLIMIT][SBLIMIT];
    PCM FAR *pcm_sample;

 

pcm_sample = (PCM FAR *) mem_alloc((long) sizeof(PCM), "PCM Samp");

Outcomes