This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDSDSK6713: What is meant by codec handle and hcodec in function of AIC23 codec?

Part Number: TMDSDSK6713

Many times a code line is seen in programs related to aic23 codec

The line is as follow:

DSK6713_AIC23_CodecHandle hCodec;

What is it?

Is it a variable or a function?

and What is meant by codec handle and  hcodec here?

  • The C6713 device as you can see from ti.com is available with limited TI design support so we recommend you will find relevant collateral, software and tools in the product folder but we are not able to offer much support outside of that. 

    Just as general guidance, the handle to a codec is like a pointer to a structure or an object. If you have the full source of the C6713 code, you should be able find the structure definition in the header files and the pointer (DSK6713_AIC23_CodecHandle) to the codec structure. the code  that you are referring to is probably the BSL (board support library) or CSL examples. Please search the header files in the package to locate the definition.

    Regards,

    Rahul