I have a board configured as follows:
- Chip: iM8MP
- RAM: 4GB
- EMMC: 8GB.
- Audio Codec: TLV320DAC3100IRHBRYocto BSP: https://github.com/nxp-imx/imx-manifest/blob/imx-linux-mickledore/imx-6.1.36-2.1.0.xml
I have successfully brought up the Audio codec and tested it with a wave file.
$ aplay 24_48k_PerfectTest.wav
Playing WAVE '24_48k_PerfectTest.wav' : Signed 24 bit Little Endian in 3bytes, Rate 48000 Hz, Stereo
The sound comes out accurately and clearly. I continued testing using gst-play-1.0, because I wanted to play many other audio formats. I have a problem here. Take a look at the log below.
gst-play-1.0 24_48k_PerfectTest.wav
[ 26.593952] audit: type=1701 audit(1672502419.824:18): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=440 comm="vsidaemon" exe="/usr/bin/vsidaemon" sig=6 res=1
[ 36.834279] audit: type=1701 audit(1672502430.068:19): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=441 comm="vsidaemon" exe="/usr/bin/vsidaemon" sig=6 res=1
[ 37.718446] audit: type=1334 audit(1672502430.952:20): prog-id=10 op=UNLOAD
[ 37.725453] audit: type=1334 audit(1672502430.952:21): prog-id=9 op=UNLOAD
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/root/24_48k_PerfectTest.wav
Redistribute latency...
Redistribute latency...
0:00:05.5 / 0:00:13.2
/usr/bin/vsidaemon crashed multiple time, and after about one minute the sound is emitted. I would like some suggestions to trouble shoot this problem? I think the correct case should be: vsidaemon doesn't crash and the sound is emitted immediately.