This question already has an answer here:
I am using an iPhone 4 running ios 7.1.1. Recently, I've had a very frustrating problem, and it is not being able to listen to music with speaker. I'm pretty sure the speaker isn't broken because I can use it for alarms. Also, in my voice memos, the sound works although I have to click that speaker button on the top right corner so that the sound would come out of the speaker instead of the earpiece (top speaker).
When listening to music, there is completely no sound, and I can't adjust the volumes. Here's a screenshot of my music.
I think the problem first occurred after recording with my voice memos and syncing my phone to iTunes to transfer my recording from my phone to PC. After that, there's just no sound coming out of my phone speaker. The music works when i'm using earphones. It's still frustrating though. Any suggestions?