[Asterisk-Users] g711 ulaw vs alaw

Peter Svensson psvasterisk at psv.nu
Thu Dec 16 05:57:42 MST 2004


On Thu, 16 Dec 2004, Roy Sigurd Karlsbakk wrote:

> > I think there is a bit more difference. The byte code of ulaw is a
> > monotonic function of the amplitude whereas in alaw the code is xor:ed
> > with a bit mask of 0x55.
> 
> Wow! Encryption!

I think it is done to keep the number of 1 and 0 on the line roughly 
equal. For some links this was/is desireable.

Peter





More information about the asterisk-users mailing list