Re: Little-to-Big Endian routines for OSX?
Re: Little-to-Big Endian routines for OSX?
- Subject: Re: Little-to-Big Endian routines for OSX?
- From: email@hidden
- Date: Mon, 2 Jul 2001 09:27:50 -0700
Hi Doug,
Here is the link to the Apple webpage with this function:
http://developer.apple.com/techpubs/hardware/DeviceManagers/pci_srvcs/pci_cards_drivers/PCI_BOOK.1d0.html#20337
James
Doug Wyatt
<email@hidden> To: email@hidden
Sent by: cc: Doug Wyatt <email@hidden>, email@hidden
coreaudio-api-admin@lists Subject: Re: Little-to-Big Endian routines for OSX?
.apple.com
06/29/01 09:29 PM
There are PowerPC instructions to load and store 16 and 32 bit
little-endian integers ... I suspect the swap routine you mention uses
one of those instructions. I haven't heard of it -- I grepped through
/System/Library/Frameworks and didn't find it.
Can you point me to the documentation for it?
Doug
On Friday, June 29, 2001, at 07:03 PM, email@hidden wrote:
>
Hi guys,
>
>
Is there an efficient method to convert Littlendian to Bigendian for
>
OSX?
>
Looking through the Apple website there is supposed to be a routine
>
"EndianSwap16Bit()" which looks useful. However, I can't find the right
>
include file / or this isn't available in OS X from an driver. I also
>
tried to make my own but the compiler seemed to ignore the ">>>"
>
unsigned
>
bitwise-shift operator.
>
>
Thanks,
>
James
_______________________________________________
coreaudio-api mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/coreaudio-api