No sound on my iPad app?

I have been experiencing that my iPad app does not sound anything at all for a while. Somehow YouTube has not been effected and I can hear the sound of YouTube video without any problem. [this article initially written for iOS6, but I confirmed this phenomenon happens on iOS7 same as iOS6.]