Hello,
Play the music and then do hard press and hold on the bottom right of iPhone 4's device with your thumbnail. You'll hear the song but once you release your thumb don't be suprise if the sound disappears.
Fyi, your device is badly misproduction . 😟
It was happening on my device too, I bought the iPhone 4 last April 29th, 2011 and the speaker didn't work after I synced with iTunes. I was suprised when I found that this problem happens on many iphone4 devices as well,
2 weeks ago I went back to the Apple's dealer in my town ( Telkomsel - Surabaya - Indonesia ) and told them about this problem but they refused to replace the device, they told me to call or visit the service center ( Mitra Telekomunikasi Selular ) and the customer service officer ( Mr. Setio ) told me they will replace the speaker module.
Till today, I disagree with their recommendation because I was thinking that I buy a new device but there's problem but the problem is mass problem that happens on many people on the same model so that we are worthy to have the replacement with new iPhone 4's device , if they do replace the speaker's module it means that the device is becoming refurbished device. Pay New Get Refurbish 😟
What do you think ? Please advice. Thank you