Current playing music file on cocosdenshion
Is there any way or method to find out if there is any file playing on with simpleaudioengine and if there is some开发者_如何转开发 file already running then what is that file.
Let's guess you are using method
-(void) playBackgroundMusic:(NSString*) filePath;
the framework use for this method AVAudioPlayer which has a property "playing" So you can easily write a method which return this BOOL property.
精彩评论