samedi 27 juin 2015

Can cocos-2dx play a song from the phone's library?

I'm using an MPMusicPlayerController to access and play music in an objective C file, but I need to play it in my C++ file using SimpleAudioEngine. Is it possible to select an item with MPMusicPlayerController and use its URL(ipod-library://item/item.m4a?id=456458322781804615) to play the music?

Aucun commentaire:

Enregistrer un commentaire