I am having problems with my audio on Ubuntu 20.04 which is installed on my intel Nuc. The issue is that I have crackly audio, when watching youtube or using any other software. I have tried installing pulse audio, and when using the GUI under configuration I have two audio devices, one is Intel CM238 HD and the other is AMD polaris 22 HDMI audio. For the built in audio, the only available profile is Analogue stereo input, and on the Polaris 22, the only available is Digital stereo HDMI 5 output. If I disable built in audio and leave polaris audio active, I have crackling, and if I disable polaris and leave built in audio on (only available profile is input) I do not have any sound output.
When I initially ran the Ubuntu install I believe I did not install the 3rd party software, as I wasnt planning to use the computer extensively. Even with pulse audio installed and the drivers appearing to work correctly, I still have the static or crackly sound. I am quite new to Ubuntu so appreciate any help.