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.

AM4372: Audio_Codec_issues

Part Number: AM4372

Hi,

Here i am writing to get clarity about few things.

1. We are using TLV320AIC3X audio codec to listen sounds.

our customers developed application based an alsa where it works fine with this chip.

2.Similarly they developed a qt application based on pulse audio, here the audio is not coming out on tlv chip. But we are getting sound of initialized when we use pulse audio -D command.

(here we builded recipe for pulseaudio and also installed some modules of .ipk files since we don't know which is better useful).

3.Now my doubt is what is difference between alsa and pulse audio. Is there any thing like tlv chip support alsa only not pulse audio(Also all commands are working fine of pulse audio. paplay .mp3--->notplaying.

paplay .wav--->playing)

4.Qt application is internet calling. i installed all modules properly call initiating and also ip address is fetching properly only but still voice is not coming out in application.

5.How can i differentiate codec and audio formats and alsa and pulseaudio.

6. can someone please help me in this. any help is appreciated.

Thanks

A.N.V.Lavanya

  • Hello,

    With regards to the difference between alsa and pulseaudio, please refer to following link. Based on your experiments, it seems like the dts is configured correctly and I am assuming you are able to hear audio while playing sounds using the aplay/gstreamer commands. If you cannot hear audio while using the Qt framework, I recommend asking the Qt community for the required configs/dependencies. Also, in the past, I noticed customers were able to use aplay (instead of pulseaudio) and get sound successfully coming out of Qt.

    Regards,
    Krunal 

  • As an experiment, if you are using the default TI SDK 6.03, navigate to the directory "/usr/share/qt5/examples/multimedia/audiooutput" and run the example audiooutput. On my first attempt, I got the error "PulseAudioService: pa_context_connect() failed" and after running the command "pulseaudio -D", I was able to hear sound on my AM437x GPEVM.

    Regards,
    Krunal

  • Hi Krunal,

    Thank you for your reply .

    1. Yes as you said with alsa voice i heard clearly through qt application (qt version is 5.7.0)

    2. But with pulseaudio based qt application is not working fine but no errors are coming but voice is cannot able to hear. even i started pulseaudio -D and did but not get any voice. in application customer defined mp3 format of voice but pulseaudio most probable plays .wav extension files know is that matter during call of listening voice.

    3.We are using SDK04.02, and here also the example  audio output is present . but how you said that is pulseaudio based example and also in that application audio format (mp3,wav) is not specified so pulseaudio supports all kinds of formats like that can we conclude?

  • Hello,

    As I mentioned earlier, please confirm with Qt community on the supported formats and required configuration. I ran the default Qt example on PSDK6.3 because we do not support SDK4.02.

    Regards,
    Krunal