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.

where to find the DLL path of the Harware codec "hwcodecadapter.dll" referenced in tps659xx_wave.reg

Hi, all

I find the below paragraph in tps659xx_wave.reg

"DASFHwCodecAdpaterPath"="hwcodecadapter.dll"       ; HW codec adpater DLL path

Now, I could not find the file 'hwcodecadapter.dll', could someone tell me how to generate this file and the role it plays?

In addtion, what is the differences betwwen the DMTAudioStreamPort and DASFAudioStreamPort?

thanks very much!

  • DMT stands for Direct Memory Transfer port which is basically a way of playing audio through the McBSP controller with the help of DMA transfers. I'm not sure but I believe the DASF is somehow related to the internal DSP and the "hwcodecadapter.dll" provides a wrapper to audio processing done by the internal DSP. In the case of the EVM board, sound is to be output to the TWL4030 audio codec through a McBSP channel, hence the use of the DMTAudioStreamPort. As the "hwcodecadapter.dll" file is not found by the system, loading the DASF audio port just fails and cannot be used, which is ok because we don't call DASF anyway. Moreover, following code shows that DMT is selected by default:

    void
    OMAP35XX_HwAudioBridge::initialize(
        WCHAR const *szDMTDriver,
        WCHAR const *szDASFDriver,
        HwCodecConfigInfo_t *pHwCodecConfigInfo,
        HANDLE hPlayPortConfigInfo,
        HANDLE hRecPortConfigInfo,
     AudioRoute_e eAudioRoute
        )
    {

    [...]

        // open and register direct memory transfer port
        //
        m_DMTPort.register_PORTHost(this);
        m_DMTPort.open_Port(szDMTDriver, hPlayPortConfigInfo, hRecPortConfigInfo);

        // open and register DASF transfer port
        //
        m_DASFPort.register_PORTHost(this);
        m_DASFPort.open_Port(szDASFDriver, hPlayPortConfigInfo, hRecPortConfigInfo);

        // set default port to the DMT port
        //
        m_pActivePort = &m_DMTPort;
        m_DMTPort.set_DMTProfile(DMTAudioStreamPort::DMTProfile_I2SSlave);