Tool/software: Linux
Hi,
Do we have any audio loopback example in processor Linux SDK for am5728 evm like for video capture we have dual camera demo.
can you please help me for the example if any.
Thanks,
Jahnavi
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.
Tool/software: Linux
Hi,
Do we have any audio loopback example in processor Linux SDK for am5728 evm like for video capture we have dual camera demo.
can you please help me for the example if any.
Thanks,
Jahnavi
Hello Jahnavi,
In PSDK Linux, we do not have any audio loopback example but you could connect the audio input jack (LINE IN ONLY) to your host pc/cell phone via an aux cable. Then, connect speakers/headphones to the audio output jack and type the following commands:
" arecord -D plughw:0,0 -fS32_LE -c2 -r48000 | aplay -D plughw:0,0 -fS32_LE -c2 -r48000". I am able to play music from my phone and listen on the speakers.
By default, no software changes are required in the drivers and I used PSDK Linux 5.0 to perform my test. The test emphasizes the following path:
The following documents have information about arecord/aplay:
Regards,
Krunal
Hello Jahnavi,
The following document shows a good example of video/audio decoding. Once the board boots up, run the command "gst-launch-1.0 playbin uri=file:////usr/share/ti/video/TearOfSteel-AV-Short-720x420.mp4 video-sink=kmssink audio-sink=alsasink".(Note: I had to stop weston (/etc/init.d/weston stop))
In my setup, I saw a video playing on the LCD screen and I heard audio on the headphones connected to the audio-out jack.
The Audio_ExampleProject in PSDK RTOS is doing the same thing I discussed in my previous post.
Regards,
Krunal
Hello jahnavi mallpragada,
jahnavi mallpragada said:can we convert GStreamer pipelines to C Code .
You could use gstreamer pipeline into .c code but first you need working pipeline.
Here are the gstreamer tutorials.
https://gstreamer.freedesktop.org/documentation/tutorials/basic/hello-world.html
If you need more details about this please open a new thread. Thank you!
BR
Margarita