I'm working on a imx 6DualLite.
I can't add or edit system libraries.
I have to play an audio file from hdmi and speakers.
This is the pipeline I am using:
gst-launch-0.10 filesrc location=/home/root/beep.wav ! wavparse ! audioconvert ! audioresample ! tee name=t ! queue ! alsasink t. ! queue ! volume volume=1 ! alsasink device=sysdefault:CARD=imxhdmisoc
The problem is that the audio of the speakers is not synchronized with the audio of the hdmi
I've already tried to add
... alsasink device=sysdefault:CARD=imxhdmisoc sync=TRUE
I found a solution (in my case it worked) by linking the two cards that are displayed with the command:
By following this guide: https://www.alsa-project.org/wiki/Asoundrc#Virtual_multi_channel_devices
I edited the file
/etc/asound.conf
. I do not quote the whole file (it is very long) but only the last part that I modified:became