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.

Mono audio output on DM6467 EVM

Other Parts Discussed in Thread: TLV320AIC32

I tested the audio functionality on the DM6467 EVM, by connecting an stereo audio source to the AIC32 input (2 RCA connectors) and connecting speakers to AIC32 output (2 RCA connectors).

First, I played an aac audio file on the target and the output audio was stereo as it should.

In the second test, I used the saAudioLoopback executable provided with the EVM, which does only audio loopback, i.e. capture input audio and play it on the audio output.

The test showed that the audio is output as mono (only 1 audio channel is output) although input audio is stereo.

Is there any explanation to this?

  • Nir Aloni said:

    In the second test, I used the saAudioLoopback executable provided with the EVM, which does only audio loopback, i.e. capture input audio and play it on the audio output.

    The test showed that the audio is output as mono (only 1 audio channel is output) although input audio is stereo.

    Is there any explanation to this?

    Just to clarify, even when the mono audio file is played, the data is played on both the channels. So playing mono audio does not mean that audio comes only through one channel.

    Please send the log when the loopback test is triggered. Also please check your input channel connection to EVM is proper.

    Can you also try the loopback test using arecord and aplay commands and send the logs?

  • There is no log file to the loopback test. There are just messages on terminal like: 'player thread launched' and 'recorder thread launched'.

    I also checked the input channel connection with scope and confirmed that both left and right channel are input to the tlv320aic32 component.

    Regarding the arecord and aplay commands, when I try to launch arecord I get error like 'no such device'. I think this happens since both arecord and aplay need ALSA support in kernel, which seems to not be present.

    I made another test by using the encode demo to record the audio input to an audio file. I opened the result audio file using ffplay and by looking at its GUI which shows the waveforms of audio on each audio channel, I can see that on one channel there is audio activity, while the other has no activity.

    Other suggestions?

  • This problem does not occur with the new DVSDK 2.0 and MV kernel 2.6.18.