Is there any way I can play the audio I have as MPMediaItem using OpenAL. Is it possible to convert MPMediaItem to a OpenAL playable format?
Asked
Active
Viewed 506 times
0
-
Is it possible to convert MPMediaItem to ALBuffer? – Bijoy Thangaraj Dec 29 '11 at 17:07
1 Answers
2
I would say you can, you can get music data from an MPMediaItem and then you are free to do with it as you wish...on information on getting music data from an MPMediaItem refer to this question
Hope it helps
-
Thanks Daniel. How do I get the song URL from the MPMediaItem? – Bijoy Thangaraj Dec 30 '11 at 07:42
-
1
-
Thanks Daniel. I'm marking your post as the answer. NSURL *itemURL = [song valueForProperty:MPMediaItemPropertyAssetURL]; – Bijoy Thangaraj Dec 31 '11 at 17:00