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.

cat PiLao.wav >/dev/dsp

I debug the audio on the dm6446 board designed by Beijing AVSolution Technology Co.,Ltd

The auido chip is AIC32.

But when I execute "cat PiLao.wav >/dev/dsp " the first time, I can't hear the sound. When I cancel it with the command "ctrl + C". And then execute "cat PiLao.wav >/dev/dsp " the second time, I can hear the sound.

Or When I execute ./decoded -s test1.g711 , I can here the sound. And then execute "cat PiLao.wav >/dev/dsp "  after it , I can also hear the sound.

When I change the I2C address(for AIC33) and do the examination on TI DM6446 EVM. when I execute "cat PiLao.wav >/dev/dsp " the first time, I can hear the sound. 

The hardware of  AIC32 designed by Beijing AVSolution Technology Co.,Ltd is OK. Because it can play TI's codec.

 Anyone know about it ?

Many thanks to you all.

 

  • The bug has been found.

    In the audio_aic33_init(void) function, the following sentences have been comment. So don't comment them, you can hear the sound

            void *foo = NULL;

            davinci_aic33_initialize(foo);

     

    Lemon Chan
    Tel:086-010-81744398
    Fax:086-010-81744398
    Beijing AVSolution Technology Co.,Ltd