I have 14.2 installed, with no sound on hdmp at the moment, nor does it show in pavucontrol. I don't run pulseaudio, and have been relying on alsa, but that can change. The soundcard shows this way:
Code:
bash-4.3$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
ATM, everything goes to speakers. When I open vlc, it mutes headphones and S/PDIF (Whatever that is). In the past, HDMI sounded absolutely congenitally deformed until I resampled it. It's a bottom quality sound chip, but I'm not stressed as long as I can get some control of it again. Despite rc.pulseaudio not being executable, something is starting it :-o. To put it mildly, it's not set up :-P.
Can it be done with pulse audio? I'll drag my sound system into the 21st century if necessary.
EDIT: My ideal would be to have hdmi take the sound when plugged in unless I did something to send it to speakers/earphones.
I set up a luser back in 2015 for use in the hall, in case others had to use my pc. As it turned out, they did because people couldn't configure m$ windows or MacOS as well as LQ helped me to configure linux. I played a video as that user. I lost X immediately, froze the pc, nobbled keyboards, but the audio worked perfectly in speakers - earphones. I presume vlc was running that. That means vlc's oddities are related to my user config.