Re: Convert to float and more
Re: Convert to float and more
- Subject: Re: Convert to float and more
- From: Jeff Moore <email@hidden>
- Date: Wed, 4 Jun 2003 12:48:36 -0700
On Wednesday, June 4, 2003, at 12:05 PM, Mark's Studio wrote:
On onsdag, jun 4, 2003, at 20:42 Europe/Copenhagen, Jeff Moore wrote:
On Wednesday, June 4, 2003, at 01:46 AM, Mark's Studio wrote:
I also looked at CASampleTools.cpp ( but to be honest i don't
understand C++).
Don't use that code. It's about as bad as you can get. I should know,
I wrote it =)
Instead, you should use the blitters in the AudioConverter.
how fast is the AudioConverter compared to sample/32768?
The AudioConverter blitters use Altivec, are fully optimized, and take
advantage of a few neat math tricks so they're a ton faster.
I also want to import/export MP3 and other compressed formats what is
the best way to do that?
The system doesn't ship with an MP3 encoder that is programmatically
accessible, so you're kind of on your own. For decoding, you can use
QuickTime until codecs are better supported directly by the
AudioConverter API.
I thought iTunes used Quicktime for making mp3 files?
Negative. iTunes has always carried around it's own MP3 encoder/decoder
that is separate from QT and not accessible outside of iTunes.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.