Re: -10863 error - Help!
Re: -10863 error - Help!
- Subject: Re: -10863 error - Help!
- From: Doug Wyatt <email@hidden>
- Date: Wed, 16 Jun 2004 12:13:47 -0700
On Jun 14, 2004, at 11:37, William Stewart wrote:
The idea of the CAAudioFile is that it *always* expects you as the
client of it, to be dealing with "canonical" float32 buffers
uh, no.
The client format can be any PCM format or the file's data format
(though it's not very useful to get the file's native data if it's
non-PCM).
If you dig into the source of afconvert, you'll see, if you're doing a
PCM-to-PCM conversion, the client format for both files will be the
data format of one of the files, so you end up with only one
AudioConverter under the hood.
- it then
does any conversions to go from that format to the disk format...
So, your clientdataformat will almost *never* be the same as the file's
format... (even with a float32 file, the data is interleaved, and
typically in the AU world, data is not-interleaved)
Bill
_______________________________________________
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.