Using HDMI cable, I connected RPI 3 to a TV and a home theater to perform the tests, however I could not play radio sound or audio file.
Applied Configuration
sudo amixer cset numid = 3 2
Applied configuration to /boot/config.txt
sudo nano /boot/config.txt
initramfs volumio.initrd
gpu_mem=32
max_usb_current=1
dtparam=audio=on
audio_pwm_mode=2
dtparam=i2c_arm=on
disable_splash=1
hdmi_force_hotplug=1
hdmi_drive=2
hdmi_mode=16
include userconfig.txt
Suggested commands:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 2/3
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
$ tvservice -a
[E] Failed to initialize VCHI (ret=-1)
$ tvservice -s
[E] Failed to initialize VCHI (ret=-1)
I get sound on HDMI using the command
$ speaker-test -c2
I can get video normally on TV and at home theater
Any help is welcome