Iphone 4s speaker suddenly stops working

So I was just playing music on the iphone speaker and it just suddenly stopped working… I tried adjusting it but i can't even adjust the volume with the buttons… The ringtones and calls on speaker work just fine and the music plays just fine with headphones and the volume buttons only work when the headphones are in… I restored my phone already and it started working again… I was listening to music like 10 mins ago and then it suddenly stopped AGAIN… What the heck is wrong with my phone?

Well I'll be darned! I had the exact same problem. Ends up the whole gizmo was infested with mites! Mites, by golly! It was infested with mites! Can you imagine? It was infested with mites!