Re: Playing mp3s from Cocoa
Re: Playing mp3s from Cocoa
- Subject: Re: Playing mp3s from Cocoa
- From: Torsten Curdt <email@hidden>
- Date: Sat, 8 Sep 2007 15:43:59 +0200
Hey Charles,
Thanks for the pointer - that was pretty straight forward to
implement. :) The only thing I could not yet get working was binding
a custom slider to the QTMovie. (I don't want to have the standard QT
control in the UI). But slowly polling the movie and updating the UI
via NSTimer did the trick. Probably not the most elegant solution
though.
Still I would love to learn how one would do this without
QT ...decoding with the various codec libraries and then passing it
on to CoreAudio. If someone has pointers to examples for
that ...please let me know. I am still going through the documentation.
cheers
--
Torsten
On 08.09.2007, at 03:39, Charles Steinman wrote:
--- Torsten Curdt <email@hidden> wrote:
I'd like to play mp3 files (including seeking,
pause/resume) from a
Cocoa application. After some research I found a
couple libraries
(MTCoreAudio, Sycamore, Musikit, mpg123) and there
is of course also
Quicktime (NSMovieView is deprecated?). Any
suggestion on what is
most easy to use?
If you're targeting 10.4 and above, take a look at
QTKit.
http://developer.apple.com/documentation/QuickTime/Conceptual/
QTKitProgrammingGuide/index.html
Cheers,
Chuck
______________________________________________________________________
______________
Pinpoint customers who are looking for what you sell.
http://searchmarketing.yahoo.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden