Both onboard sound is good although to use either board with the 9400F you'll want to make sure the BIOS is up to date before purchasing or buy a B365 board from Asrock.
Between those two I'd go with the Asus Strix as I've have bad luck with MSI board.