cocos2d/cocos2d-x — pull request #823 by moadib (2012-04-02 10:50:20+00:00)
Title: Fix some issues in OpenAL implementation of CocosDenshion for qnx

Only paused sources need to be returned to PLAYING state, otherwise resumeBackgroundMusic and resumeAllEffects causes start of playing source even it is not startet previously.
Also fix error in "resume" and "pause" all sounds - there is no iterating over array of corresponding sources.