Enable 5.1 audio on Z390 Aorus Master

How do I enable 5.1 audio on my Hackintosh ?

I have a z390 aorus master with Big Sur , audio is working but only on stereo, on a Logitech 5.1 speakers.

Author: @bobyhn