Run decode demos and print "Error:Failed to create audio device" in DM3730,how can I resolve this problem?Thanks!
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.
Run decode demos and print "Error:Failed to create audio device" in DM3730,how can I resolve this problem?Thanks!
Hello,
You could try:
cd /usr/share/ti/dvsdk-demos
-path to the audio file:
./decode -a /usr/share/ti/data/sounds/davincieffect_lc.aac
Decode demo started.
ARM Load: 0% DSP Load: 1% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 136 kbps Time: 00:00:01 Demo: Decode Displ
ARM Load: 0% DSP Load: 1% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 126 kbps Time: 00:00:02 Demo: Decode Displ
ARM Load: 0% DSP Load: 1% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 141 kbps Time: 00:00:03 Demo: Decode Displ
ARM Load: 0% DSP Load: 1% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 123 kbps Time: 00:00:04 Demo: Decode Displ
ARM Load: 3% DSP Load: 1% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 130 kbps Time: 00:00:06 Demo: Decode Displ
Best Regards,
Margarita
Hello,
Thank you,the demo print strings as following after I rebooting the system.Dose it correct?And why ARM Load and DSP load percent are always less the 10%?There is no any output file in the directory.
……
ARM Load: 2% DSP Load: 3% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 126 kbps Time: 00:01:36 Demo: Decode Display: VGA Video Codec: N/A Resolution: N/A Sound Codec: AAC Sampling Freq: 44.1 KHz
ARM Load: 2% DSP Load: 2% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 132 kbps Time: 00:01:37 Demo: Decode Display: VGA Video Codec: N/A Resolution: N/A Sound Codec: AAC Sampling Freq: 44.1 KHz
ARM Load: 1% DSP Load: 3% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 122 kbps Time: 00:01:38 Demo: Decode Display: VGA Video Codec: N/A Resolution: N/A Sound Codec: AAC Sampling Freq: 44.1 KHz
End of clip reached, exiting..
Hello,
There is no any output file in the directory.
This demo only play audio file.
And why ARM Load and DSP load percent are always less the 10%.
The ARM load is suppose to be less 10%.
You could try Running the DMAI apps:
cd /usr/share/ti/ti-dmai-apps/
/etc/init.d/loadmodule-rc restart
./audio_decode_io1_dm3730.x470MV -c aachedec -i /usr/share/ti/data/sounds/davincieffect_lc.aac -o aac_test_output.pcm
outputfile: aac_test_output.pcm
Best Regards,
Margarita
Hello Margarita Gashova,
(1) the earphone has no sound when ../decode -a /usr/share/ti/data/sounds/davincieffect_lc.aac is running,is there anything wrong?
(2) The file aac_test_output.pcm from ./audio_decode_io1_dm3730.x470MV -c aachedec -i /usr/share/ti/data/sounds/davincieffect_lc.aac -o aac_test_output.pcm could be played in the player of PC.Could you give me some suggestions about the matter?Thanks.
Hello,
I checked with: ./decode -a /usr/share/ti/data/sounds/davincieffect_lc.aac and the *.acc file is playable correctly with audio.
Could you check are you connected your earphone correctly, it should be connect in AUDIO OUT.
Best Regards,
Margarita
Hello,
Thank you!
I have to tell you the DM3730 board is not from TI Offical,but the third party.So I‘m not sure whether the earphone dosen't work for this reason or not.Then what should I do to match DVSDK with my board?
Hi QingboGuo,
Are you using some custom board? I ask you this question because I would to find the reason of your problem and I'm using AM/DM37x Evaluation board EVM. The sound is playing when execute the command ./decode -a /usr/share/ti/data/sounds/davincieffect_lc.aac and the headset is connected to the audio out port.
BR
Tsvetolin Shulev
Yes,I am using a custom board because AM/DM37x Evaluation board EVM is too expensive for me.And the developer of the custom board told me there is no difference,could you tell me the price of AM/DM37x Evaluation board EVM?
BR
QingboGuo
There is the board which I'm using - AM/DM37x Evaluation board EVM:
There is the other similar less expensive board - BeagleBoard XM is based on the DM3730 too:
The problem may be due to some hardware differences between your board and the EVM. Could you play any other sounds via headset from your board?
BR
Tsvetolin Shulev
Sorry,clicking the link http://www.ti.com/devnet/docs/catalog/thirdpartydevtoolfolder.tsp?actionPerformed=productFolder&productId=8517 will appear the following page,I have not played any sound successfully via headset yet.
Hello,Margarita Gashova
The headset can play music now,I changed the scprit "amixer cset name='HeadsetL Mixer AudioL1' on" to ”amixer cset name='PredriveR Mixer AudioR1' on”,but now the MIC dosen't work,and I don't kown how to open the MIC switch.Could you help me?