Have a service center replace the board or toss it for a new model laptop! While you could be seeing a failing onboard audio chip you could also be seeing a problem with the connection to the mini plug socket on the board itself if it has a cold solder joint or is now loose from wear after repeatedly plugging in and removal of the external speakers. You may also be seeing a driver conflict with something else installed.