[asterisk-dev] endianness in chan_phone

Yoann WALTHER ywalther at gmail.com
Mon Nov 13 01:30:30 MST 2006


Hi,

I'm writing a kernel driver implementing the Linux kernel API, to be able to
use Asterisk on my board. I first implemented the codec G711_LINEAR, but I
noticed that a "read" was done in Little Endian, whereas a "write" was done
in Big Endian...
Does somebody know if this is a bug or a feature ? If it is a feature, why
do we need to use different endianess for read and write ?

Thanks for your help,

--
Yoann WALTHER
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20061113/42abfb40/attachment.htm


More information about the asterisk-dev mailing list