2025-08-07 11:31 PM - edited 2025-08-07 11:36 PM
Hi ST,
I am successfully enabled the Audio through the SAI channel I am able to detect the card for our custom board. and using gst-play-1.0 this play the video and sound very well , also with aplay command.
But the thing is , whenever i use qtmultimedia, it's playing video very well , but sound not come.
when i connect the HDMI , then sound works through the card cs42l51. but when i disconnected the HDMI , and reboot the custom board , then i again i try to play video through the qtmultimedia with screenoff command then it play only video , but not given the audio output. Then i plugin the HDMI , then reboot the custom board , and i try to play the video through the qtmultimedia with screenoff command then sound works very well,
so i think the issues comes from the HDMI and cs42l51 card.
is something i am doing wrong from initialization and configuration
root@stm32mp255-customedsce-9b-60-e5-21-77:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: STM32MP25DK [STM32MP25-DK], device 0: 40290004.audio-controller-cs42l51-hifi cs42l51-hifi-0 [40290004.audio-controller-cs42l51-hifi cs42l51-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: STM32MP25DK [STM32MP25-DK], device 2: 400b0000.audio-controller-i2s-hifi i2s-hifi-2 [400b0000.audio-controller-i2s-hifi i2s-hifi-2]
Subdevices: 1/1
Subdevice #0: subdevice #0
root@stm32mp255-customedsce-9b-60-e5-21-77:~#