Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quicktime and buffers



Hello all. :) I want to be able to play mp3 (or mp4) music in an app i'm writing.. However, i need to play this music from a buffer in RAM, instead of from a file or URL (which the Cocoa wrapper for QT seems to handle quite nicely). I'd also like to have the ability to begin playback of this buffer before i've finished filling it. Can anyone help?

I found a QT example on the dev page that plays mp3(or 4) data from a buffer, but it seems to be written for carbon and is quite a bit more complex than i was hoping for. :) I'd rather not try and hack the example down to just the code that does the playing, but i won't rule that out as an option.

I realize this is a Cocoa list and this question *might* be better suited in some respects to the QuickTime dev list... but i was hoping for a cocoa solution and i figured this would be the best place to look for that.

thanks for any help..

Jason M.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.