I'm not sure you can fix this problem. Many people report the same problem as you, trying to run Window 10 on the "HP Pavilion 500-189", or it's motherboard the "MSI MS-7778 (JasmineR). In Window 10 the "IDT High Definition Audio" chip stops working, but they are not sure why. In the end your best answer may be to just buy an inexpensive PCIe audio card, instead of trying to fix the IDT High Definition Audio. I have no more suggestions for you, sorry.
http://www.tomshardware.com/answers/id-2941921/msi-7778-audio-question.html