I’m not completely sure if this is used with Cocos2d, but I would like to know how I could let the user play their own music from their playlists or if my application could randomly choose a song from their playlist.
Is that possible?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can check if another music is playing using CDAudioManager singleton. Use the function
isOtherAudioPlaying. http://www.cocos2d-iphone.org/api-ref/0.99.5/interface_c_d_audio_manager.html#ab664b34e99f6f3e2158f2df910cf3a95