<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1586" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=709025522-16022007><FONT face=Arial 
color=#0000ff size=2>I think that the sample packing order is different between 
g726 and g726aal2.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=709025522-16022007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=709025522-16022007><FONT face=Arial 
color=#0000ff size=2>And yes, it's the 32kbps (4 bits per sample) encoding 
only.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> asterisk-dev-bounces@lists.digium.com 
  [mailto:asterisk-dev-bounces@lists.digium.com] <B>On Behalf Of </B>Clod 
  Patry<BR><B>Sent:</B> 16 February 2007 22:19<BR><B>To:</B> 
  asterisk-dev@lists.digium.com<BR><B>Subject:</B> [asterisk-dev] 
  G726<BR></FONT><BR></DIV>
  <DIV></DIV>gi guys,<BR>i was looking at codec_g726.c and i've been to ask 
  myself: what are the differences between g726 and g726aal2.<BR>They both use 
  the same struct g726_coder_pvt. They both using g726tolin_sample(), which is 2 
  samples/bytes <BR>Also, a core show translation seems they are really fast to 
  translate from one to other.<BR>Is that just a small difference in the algo, 
  like g711u vs g711a?<BR><BR>Also, the module description says: ITU 
  G.726-32kbps G726 Transcoder, isnt for 16-24 and 40 too? <BR><BR><BR 
  clear=all><BR>-- <BR>Clod Patry </BLOCKQUOTE></BODY></HTML>