Sound Issue

I just randomly and recently had a sudden problem with the audio output of my computer. It did not worked, and when I opened pavucontrol, I noticed it was idenfying as if it were headphones that were unplugged. Of course, this was not the case, so I used pactl list, and found that the profile was incorrect.

I corrected it using the command

pactl set-card-profile alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic HiFi\ \(HDMI1,\ HDMI2,\ HDMI3,\ Mic1,\ Mic2,\ Speaker\)

Note that the spaces are important, since zsh does not identify them correctly.

For further reference see the following link: https://bbs.archlinux.org/viewtopic.php?id=292264