Le 25 oct. 2010 à 23:48, Jean-Daniel Dupas a écrit : > > Le 26 oct. 2010 à 00:36, Uli Kusterer a écrit : > >> On 25.10.2010, at 16:10, Bilel Mhedhbi wrote: >>> I want to practice and make my own radio player with Cocoa. I just want to >>> know what are your ideas about how to get an audio stream across the >>> internet (I already did something, but I want to know your ideas before I >>> show it to you). >> >> CoreAudio and NSURLConnection? >> >> PS - don't bother showing me your code. > > Have a look at AudioFileStreamExample. Look like it show how to play a > stream. > > http://developer.apple.com/library/mac/#samplecode/AudioFileStreamExample/Introduction/Intro.html > > > > -- Jean-Daniel
I finally found a very easy solution. I just pass the NSURL to a QTMovie, and the QTKit framework does everything. Thanks!_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com