cocos2d/cocos2d-x — pull request #3946 by hawkwood (2013-10-15 17:01:48+00:00)
Title: Only pause if playing

If the BGM was not playing (stopped) and pause is called, then the audio may get in to a state where "resume" would restart it when it shouldn't.