if i pause music in game, when i press home button and come back again, music play although i paused?
I believe this is happening because you have this code in applicationWillEnterForeground() of Appdelegate.
SimpleAudioEngine::sharedEngine()->resumeBackgroundMusic();
You can manually handle this with a boolean and resume only if the background music is playing while application was put into background.