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: Shawn Erickson <email@hidden>
- Date: Wed, 30 Nov 2005 17:39:04 -0800
On 11/30/05, Urs Heckmann <email@hidden> wrote:
> Jeff Moore:
>
> > In fact, you might run into the exact same hardware you're doing it
> > for now =)
>
> Btw... sorry for hijacking... does anybody have a super quick way for
> byte swapping an arbitrary number of longs/floats?
Review the APIs provided on Mac OS X for this, many are talked about
in the following...
<http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary/universal_binary_byte_swap/chapter_4_section_1.html>
Anyway... I believe Core Audio provides bulk endian swapping via Audio
Converters and those likely use AltiVec/SSE optimized code to do the
conversion when supported by the CPU.
_______________________________________________
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