Re: Endian stuff was: Re: SPDIF encoded output on G5
Re: Endian stuff was: Re: SPDIF encoded output on G5
- Subject: Re: Endian stuff was: Re: SPDIF encoded output on G5
- From: Doug Wyatt <email@hidden>
- Date: Thu, 1 Dec 2005 12:01:20 -0800
On Dec 1, 2005, at 1:24 AM, Urs Heckmann wrote:
Jeff Moore:
If you are just doing them one at a time, you can use the routines
in <CoreFoundation/CFEndian.h>.
/meslapsforehead
Thanks everybody, this was what I was looking for. Who would've
thought that there's a neat processor instruction on both PPC and
x86 ;-)
I would've used AltiVec and SSE (I'll miss the permutations...) for
*audio streams* but what I have is a couple of internal data
formats that consist of chunks of text and binary data. Thus the
endian stuff is often just one or two unaligned UInt32/Float32.
Ah, OK ... then you're in the area where I'd personally prefer
EndianU32_BtoN etc. but the CFEndian functions are fine too.
Doug
_______________________________________________
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