@androtechm33260 sounds like you are having a power supply in your subwoofer that had a catastrophic failure. you have not told us the make and model of the subwoofer. At this point, the only thing you can do is to unplug it, stop trying to use ist and disassemble it. Lets see which components when up in smoke. I would thing by sparks etc. that this is an MOSFET or the Bridge Rectifier, but it is all a guess until we can see what happened. Post as many pictures as needed, to show your boards etc. Those pictures have to be large and clear so we can at least try and help you to fix your subwoofer.
Adding images to an existing question
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
1
crwdns2942205:01crwdne2942205:0
Hi
Is the sparks coming from the subwoofer itself or is it coming from a driver board inside the case?
crwdns2934271:0crwdnd2934271:0 HelloMacOS crwdne2934271:0