• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -10863 error - Help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >-10863 error - Help! (From: Steve Gehrman <email@hidden>)
 >Re: -10863 error - Help! (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Multiple HALAOUs don't get along?
  • Next by Date: Device Sync (was Re: Multiple HALAOUs don't get along?)
  • Previous by thread: Re: -10863 error - Help!
  • Next by thread: AudioUnitPropertyMigrate question
  • Index(es):
    • Date
    • Thread