You may have a damaged or disconnected audio board. Use this guide to open the computer and get to the board. Check the ribbon cable coming from the interconnect board is connected to it. If the cables aren't the problem, you may need to replace the board itself. Here is one for sale on eBay, as iFixit does not sell them.