Hi!
I've had a similar problem a while back with a Dell Latitude D820 laptop. The speakers sounded really bad after connecting a JBL Clip+ speaker with the wire. Every software solution I tried did not help me, so I purchased a new set of internal speakers and reset the BIOS settings by swapping the old coin-cell battery with a new.
Worked fine afterwards until a friend of mine ran it over with his car...