My iphone 4s sound isn't workin?

I dropped my phone in the snow and picked right back up wiped it off bit the sound isn't working i reset my phine twice, turned off Wi-Fi and back on, turned off bluetooth and back on, and i tried cleaning the charging port (it charges fine) its not in head phones mode abd when i watch a video or play music the volume slider isn't even there, after a while of me not using it i turn it on and unlock it and the volume works, but when i open, close an app or press the home button it won't work please help 10 pts for first answer that helps
( also the buttons are working because sometimes the sound won't turn on read the whole thing please)

It's a problem in the 32 pin connector.
It's registering that there's a dock connected to it.
Clean it out, and if it still doesn't work, you're screwed since water automatically voids the warranty.