I am trying to use the Jetson Nano’s audio through HDMI. I tried this with aplay and gstreamer, but the first part of the wav file is soft and it kinda stumbles into playing the wav file. I’ve attached the wav file
I don’t believe the issue is the wav file because it works fine on VLC Media Player on my Windows 10 laptop. It would appear to be some sort of initializing thing, because if I play the audio file again immediately, the audio plays perfectly. But then, if I wait a few seconds, the audio will be soft for the first few milliseconds.
Currently in my application, I avoid this by playing a silent wav file a little bit prior. I don’t think it’s important but I am using aplay with the call
system("aplay audio/silence.wav 2> /dev/null &");. The problem still occurs if I use aplay on the command line. This is happening on two Nano setups for me.