• 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: Convenience method, function for converting 4CCs to strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convenience method, function for converting 4CCs to strings


  • Subject: Re: Convenience method, function for converting 4CCs to strings
  • From: Chris Adamson <email@hidden>
  • Date: Thu, 28 May 2009 16:04:55 -0400

Ah, that's interesting and very useful. I've been trying to dance around describing why CA uses 4CCs as OSStatus return codes for Audio File errors, but not AUGraphs or Audio Queues.

--Chris

On May 28, 2009, at 3:56 PM, Doug Wyatt wrote:

Personally I'm fond of the following, which will format the error as a 4CC if all 4 bytes are printable (as used by some parts of the CoreAudio frameworks), a decimal integer if it's reasonably small (as used by a large part of the traditional MacOS), or a hex integer if it's larger (as used by Mach/IOKit).

_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Convenience method, function for converting 4CCs to strings (From: Chris Adamson <email@hidden>)
 >Re: Convenience method, function for converting 4CCs to strings (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Re: Convenience method, function for converting 4CCs to strings
  • Next by Date: iTunes back door, API, DLL raw sample question
  • Previous by thread: Re: Convenience method, function for converting 4CCs to strings
  • Next by thread: iTunes back door, API, DLL raw sample question
  • Index(es):
    • Date
    • Thread