<p>Joshua Colp <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17409">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  George Joseph: Looks good to me, approved
  Joshua Colp: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">codecs: Spelling fixes<br><br>Correct typos of the following word families:<br><br>voiced<br>denumerator<br>codeword<br>upsampling<br>constructed<br>residual<br>subroutine<br>conditional<br>quantizing<br>courtesy<br>number<br><br>ASTERISK-29714<br><br>Change-Id: I471fb8086a5277d8f05047fedee22cfa97a4252d<br>---<br>M codecs/codec_g726.c<br>M codecs/gsm/src/rpe.c<br>M codecs/ilbc/LPCencode.c<br>M codecs/ilbc/StateSearchW.c<br>M codecs/ilbc/StateSearchW.h<br>M codecs/ilbc/constants.c<br>M codecs/ilbc/createCB.c<br>M codecs/ilbc/createCB.h<br>M codecs/ilbc/enhancer.h<br>M codecs/ilbc/iLBC_decode.c<br>M codecs/ilbc/rfc3951.txt<br>M codecs/lpc10/lpc10.h<br>M codecs/lpc10/pitsyn.c<br>M codecs/lpc10/placea.c<br>M codecs/speex/resample.c<br>15 files changed, 32 insertions(+), 32 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/codecs/codec_g726.c b/codecs/codec_g726.c</span><br><span>index 249e4f4..d9f5e00 100644</span><br><span>--- a/codecs/codec_g726.c</span><br><span>+++ b/codecs/codec_g726.c</span><br><span>@@ -309,7 +309,7 @@</span><br><span>   /*</span><br><span>    * QUAN</span><br><span>       *</span><br><span style="color: hsl(0, 100%, 40%);">-       * Obtain codword i for 'd'.</span><br><span style="color: hsl(120, 100%, 40%);">+   * Obtain codeword i for 'd'.</span><br><span>         */</span><br><span>  i = quan(dln, table, size);</span><br><span>  if (d < 0) {                 /* take 1's complement of i */</span><br><span>diff --git a/codecs/gsm/src/rpe.c b/codecs/gsm/src/rpe.c</span><br><span>index 2ace69f..c44168a 100644</span><br><span>--- a/codecs/gsm/src/rpe.c</span><br><span>+++ b/codecs/gsm/src/rpe.c</span><br><span>@@ -281,7 +281,7 @@</span><br><span>                if (temp > xmax) xmax = temp;</span><br><span>     }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-   /*  Qantizing and coding of xmax to get xmaxc.</span><br><span style="color: hsl(120, 100%, 40%);">+        /*  Quantizing and coding of xmax to get xmaxc.</span><br><span>       */</span><br><span> </span><br><span>      exp   = 0;</span><br><span>diff --git a/codecs/ilbc/LPCencode.c b/codecs/ilbc/LPCencode.c</span><br><span>index 7ef6204..8ac1d99 100644</span><br><span>--- a/codecs/ilbc/LPCencode.c</span><br><span>+++ b/codecs/ilbc/LPCencode.c</span><br><span>@@ -22,7 +22,7 @@</span><br><span> </span><br><span> </span><br><span>    /*----------------------------------------------------------------*</span><br><span style="color: hsl(0, 100%, 40%);">-    *  lpc analysis (subrutine to LPCencode)</span><br><span style="color: hsl(120, 100%, 40%);">+    *  lpc analysis (subroutine to LPCencode)</span><br><span>     *---------------------------------------------------------------*/</span><br><span> </span><br><span>    void SimpleAnalysis(</span><br><span>@@ -75,7 +75,7 @@</span><br><span> </span><br><span> </span><br><span>     *  lsf interpolator and conversion from lsf to a coefficients</span><br><span style="color: hsl(0, 100%, 40%);">-    *  (subrutine to SimpleInterpolateLSF)</span><br><span style="color: hsl(120, 100%, 40%);">+    *  (subroutine to SimpleInterpolateLSF)</span><br><span>     *---------------------------------------------------------------*/</span><br><span> </span><br><span>    void LSFinterpolate2a_enc(</span><br><span>@@ -93,7 +93,7 @@</span><br><span>    }</span><br><span> </span><br><span>    /*----------------------------------------------------------------*</span><br><span style="color: hsl(0, 100%, 40%);">-    *  lsf interpolator (subrutine to LPCencode)</span><br><span style="color: hsl(120, 100%, 40%);">+    *  lsf interpolator (subroutine to LPCencode)</span><br><span>     *---------------------------------------------------------------*/</span><br><span> </span><br><span>    void SimpleInterpolateLSF(</span><br><span>@@ -184,7 +184,7 @@</span><br><span>    }</span><br><span> </span><br><span>    /*----------------------------------------------------------------*</span><br><span style="color: hsl(0, 100%, 40%);">-    *  lsf quantizer (subrutine to LPCencode)</span><br><span style="color: hsl(120, 100%, 40%);">+    *  lsf quantizer (subroutine to LPCencode)</span><br><span>     *---------------------------------------------------------------*/</span><br><span> </span><br><span>    void SimplelsfQ(</span><br><span>diff --git a/codecs/ilbc/StateSearchW.c b/codecs/ilbc/StateSearchW.c</span><br><span>index 7320dde..0a34e61 100644</span><br><span>--- a/codecs/ilbc/StateSearchW.c</span><br><span>+++ b/codecs/ilbc/StateSearchW.c</span><br><span>@@ -20,7 +20,7 @@</span><br><span> </span><br><span>    /*----------------------------------------------------------------*</span><br><span>     *  predictive noise shaping encoding of scaled start state</span><br><span style="color: hsl(0, 100%, 40%);">-    *  (subrutine for StateSearchW)</span><br><span style="color: hsl(120, 100%, 40%);">+    *  (subroutine for StateSearchW)</span><br><span>     *---------------------------------------------------------------*/</span><br><span> </span><br><span>    void AbsQuantW(</span><br><span>@@ -123,7 +123,7 @@</span><br><span>                            /* (i) Encoder instance */</span><br><span>        float *residual,/* (i) target residual vector */</span><br><span>        float *syntDenum,   /* (i) lpc synthesis filter */</span><br><span style="color: hsl(0, 100%, 40%);">-       float *weightDenum, /* (i) weighting filter denuminator */</span><br><span style="color: hsl(120, 100%, 40%);">+       float *weightDenum, /* (i) weighting filter denumerator */</span><br><span>        int *idxForMax,     /* (o) quantizer index for maximum</span><br><span>                                   amplitude */</span><br><span>        int *idxVec,    /* (o) vector of quantization indexes */</span><br><span>diff --git a/codecs/ilbc/StateSearchW.h b/codecs/ilbc/StateSearchW.h</span><br><span>index 730e039..b088f9b 100644</span><br><span>--- a/codecs/ilbc/StateSearchW.h</span><br><span>+++ b/codecs/ilbc/StateSearchW.h</span><br><span>@@ -31,7 +31,7 @@</span><br><span>                            /* (i) Encoder instance */</span><br><span>        float *residual,/* (i) target residual vector */</span><br><span>        float *syntDenum,   /* (i) lpc synthesis filter */</span><br><span style="color: hsl(0, 100%, 40%);">-       float *weightDenum, /* (i) weighting filter denuminator */</span><br><span style="color: hsl(120, 100%, 40%);">+       float *weightDenum, /* (i) weighting filter denumerator */</span><br><span>        int *idxForMax,     /* (o) quantizer index for maximum</span><br><span>                                   amplitude */</span><br><span>        int *idxVec,    /* (o) vector of quantization indexes */</span><br><span>diff --git a/codecs/ilbc/constants.c b/codecs/ilbc/constants.c</span><br><span>index bedfc39..ca077da 100644</span><br><span>--- a/codecs/ilbc/constants.c</span><br><span>+++ b/codecs/ilbc/constants.c</span><br><span>@@ -178,7 +178,7 @@</span><br><span>        (float)1.049988, (float)1.087524, (float)1.125000,</span><br><span>        (float)1.162476, (float)1.200012};</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-   /* Enhancer - Upsamling a factor 4 (ENH_UPS0 = 4) */</span><br><span style="color: hsl(120, 100%, 40%);">+   /* Enhancer - Upsampling a factor 4 (ENH_UPS0 = 4) */</span><br><span>    float polyphaserTbl[ENH_UPS0*(2*ENH_FL0+1)]={</span><br><span>        (float)0.000000, (float)0.000000, (float)0.000000,</span><br><span>    (float)1.000000,</span><br><span>diff --git a/codecs/ilbc/createCB.c b/codecs/ilbc/createCB.c</span><br><span>index 31d6eab..56cc3b2 100644</span><br><span>--- a/codecs/ilbc/createCB.c</span><br><span>+++ b/codecs/ilbc/createCB.c</span><br><span>@@ -192,7 +192,7 @@</span><br><span>                               to be created */</span><br><span>        float *buffer,  /* (i) Pointer to the end of the buffer for</span><br><span>                               augmented codebook construction */</span><br><span style="color: hsl(0, 100%, 40%);">-       float *cbVec/* (o) The construced codebook vector */</span><br><span style="color: hsl(120, 100%, 40%);">+       float *cbVec/* (o) The constructed codebook vector */</span><br><span>    ) {</span><br><span>        int ilow, j;</span><br><span>        float *pp, *ppo, *ppi, alfa, alfa1, weighted;</span><br><span>diff --git a/codecs/ilbc/createCB.h b/codecs/ilbc/createCB.h</span><br><span>index 6689cc2..998559a 100644</span><br><span>--- a/codecs/ilbc/createCB.h</span><br><span>+++ b/codecs/ilbc/createCB.h</span><br><span>@@ -51,7 +51,7 @@</span><br><span>        float *buffer,      /* (i) Pointer to the end of the</span><br><span>                                   buffer for augmented codebook</span><br><span>                                   construction */</span><br><span style="color: hsl(0, 100%, 40%);">-       float *cbVec    /* (o) The construced codebook vector */</span><br><span style="color: hsl(120, 100%, 40%);">+       float *cbVec    /* (o) The constructed codebook vector */</span><br><span>    );</span><br><span> </span><br><span>    #endif</span><br><span>diff --git a/codecs/ilbc/enhancer.h b/codecs/ilbc/enhancer.h</span><br><span>index 80a494e..1fb4074 100644</span><br><span>--- a/codecs/ilbc/enhancer.h</span><br><span>+++ b/codecs/ilbc/enhancer.h</span><br><span>@@ -26,8 +26,8 @@</span><br><span>    );</span><br><span> </span><br><span>    int enhancerInterface(</span><br><span style="color: hsl(0, 100%, 40%);">-       float *out,         /* (o) the enhanced recidual signal */</span><br><span style="color: hsl(0, 100%, 40%);">-       float *in,          /* (i) the recidual signal to enhance */</span><br><span style="color: hsl(120, 100%, 40%);">+       float *out,         /* (o) the enhanced residual signal */</span><br><span style="color: hsl(120, 100%, 40%);">+       float *in,          /* (i) the residual signal to enhance */</span><br><span>        iLBC_Dec_Inst_t *iLBCdec_inst</span><br><span>                            /* (i/o) the decoder state structure */</span><br><span>    );</span><br><span>diff --git a/codecs/ilbc/iLBC_decode.c b/codecs/ilbc/iLBC_decode.c</span><br><span>index b607f41..7f7f3a5 100644</span><br><span>--- a/codecs/ilbc/iLBC_decode.c</span><br><span>+++ b/codecs/ilbc/iLBC_decode.c</span><br><span>@@ -112,7 +112,7 @@</span><br><span>    }</span><br><span> </span><br><span>    /*----------------------------------------------------------------*</span><br><span style="color: hsl(0, 100%, 40%);">-    *  frame residual decoder function (subrutine to iLBC_decode)</span><br><span style="color: hsl(120, 100%, 40%);">+    *  frame residual decoder function (subroutine to iLBC_decode)</span><br><span>     *---------------------------------------------------------------*/</span><br><span> </span><br><span>    void Decode(</span><br><span>diff --git a/codecs/ilbc/rfc3951.txt b/codecs/ilbc/rfc3951.txt</span><br><span>index 320651b..4668ade 100644</span><br><span>--- a/codecs/ilbc/rfc3951.txt</span><br><span>+++ b/codecs/ilbc/rfc3951.txt</span><br><span>@@ -3657,7 +3657,7 @@</span><br><span>    }</span><br><span> </span><br><span>    /*----------------------------------------------------------------*</span><br><span style="color: hsl(0, 100%, 40%);">-    *  frame residual decoder function (subrutine to iLBC_decode)</span><br><span style="color: hsl(120, 100%, 40%);">+    *  frame residual decoder function (subroutine to iLBC_decode)</span><br><span>     *---------------------------------------------------------------*/</span><br><span> </span><br><span>    void Decode(</span><br><span>@@ -4732,7 +4732,7 @@</span><br><span>        (float)1.049988, (float)1.087524, (float)1.125000,</span><br><span>        (float)1.162476, (float)1.200012};</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-   /* Enhancer - Upsamling a factor 4 (ENH_UPS0 = 4) */</span><br><span style="color: hsl(120, 100%, 40%);">+   /* Enhancer - Upsampling a factor 4 (ENH_UPS0 = 4) */</span><br><span>    float polyphaserTbl[ENH_UPS0*(2*ENH_FL0+1)]={</span><br><span>        (float)0.000000, (float)0.000000, (float)0.000000,</span><br><span>    (float)1.000000,</span><br><span>@@ -5522,7 +5522,7 @@</span><br><span>        float *buffer,      /* (i) Pointer to the end of the</span><br><span>                                   buffer for augmented codebook</span><br><span>                                   construction */</span><br><span style="color: hsl(0, 100%, 40%);">-       float *cbVec    /* (o) The construced codebook vector */</span><br><span style="color: hsl(120, 100%, 40%);">+       float *cbVec    /* (o) The constructed codebook vector */</span><br><span>    );</span><br><span> </span><br><span>    #endif</span><br><span>@@ -5734,7 +5734,7 @@</span><br><span>                               to be created */</span><br><span>        float *buffer,  /* (i) Pointer to the end of the buffer for</span><br><span>                               augmented codebook construction */</span><br><span style="color: hsl(0, 100%, 40%);">-       float *cbVec/* (o) The construced codebook vector */</span><br><span style="color: hsl(120, 100%, 40%);">+       float *cbVec/* (o) The constructed codebook vector */</span><br><span>    ) {</span><br><span>        int ilow, j;</span><br><span>        float *pp, *ppo, *ppi, alfa, alfa1, weighted;</span><br><span>@@ -6122,8 +6122,8 @@</span><br><span>    );</span><br><span> </span><br><span>    int enhancerInterface(</span><br><span style="color: hsl(0, 100%, 40%);">-       float *out,         /* (o) the enhanced recidual signal */</span><br><span style="color: hsl(0, 100%, 40%);">-       float *in,          /* (i) the recidual signal to enhance */</span><br><span style="color: hsl(120, 100%, 40%);">+       float *out,         /* (o) the enhanced residual signal */</span><br><span style="color: hsl(120, 100%, 40%);">+       float *in,          /* (i) the residual signal to enhance */</span><br><span>        iLBC_Dec_Inst_t *iLBCdec_inst</span><br><span>                            /* (i/o) the decoder state structure */</span><br><span>    );</span><br><span>@@ -9357,7 +9357,7 @@</span><br><span> </span><br><span> </span><br><span>    /*----------------------------------------------------------------*</span><br><span style="color: hsl(0, 100%, 40%);">-    *  lpc analysis (subrutine to LPCencode)</span><br><span style="color: hsl(120, 100%, 40%);">+    *  lpc analysis (subroutine to LPCencode)</span><br><span>     *---------------------------------------------------------------*/</span><br><span> </span><br><span>    void SimpleAnalysis(</span><br><span>@@ -9413,7 +9413,7 @@</span><br><span> </span><br><span> </span><br><span>     *  lsf interpolator and conversion from lsf to a coefficients</span><br><span style="color: hsl(0, 100%, 40%);">-    *  (subrutine to SimpleInterpolateLSF)</span><br><span style="color: hsl(120, 100%, 40%);">+    *  (subroutine to SimpleInterpolateLSF)</span><br><span>     *---------------------------------------------------------------*/</span><br><span> </span><br><span>    void LSFinterpolate2a_enc(</span><br><span>@@ -9431,7 +9431,7 @@</span><br><span>    }</span><br><span> </span><br><span>    /*----------------------------------------------------------------*</span><br><span style="color: hsl(0, 100%, 40%);">-    *  lsf interpolator (subrutine to LPCencode)</span><br><span style="color: hsl(120, 100%, 40%);">+    *  lsf interpolator (subroutine to LPCencode)</span><br><span>     *---------------------------------------------------------------*/</span><br><span> </span><br><span>    void SimpleInterpolateLSF(</span><br><span>@@ -9528,7 +9528,7 @@</span><br><span>    }</span><br><span> </span><br><span>    /*----------------------------------------------------------------*</span><br><span style="color: hsl(0, 100%, 40%);">-    *  lsf quantizer (subrutine to LPCencode)</span><br><span style="color: hsl(120, 100%, 40%);">+    *  lsf quantizer (subroutine to LPCencode)</span><br><span>     *---------------------------------------------------------------*/</span><br><span> </span><br><span>    void SimplelsfQ(</span><br><span>@@ -10342,7 +10342,7 @@</span><br><span>                            /* (i) Encoder instance */</span><br><span>        float *residual,/* (i) target residual vector */</span><br><span>        float *syntDenum,   /* (i) lpc synthesis filter */</span><br><span style="color: hsl(0, 100%, 40%);">-       float *weightDenum, /* (i) weighting filter denuminator */</span><br><span style="color: hsl(120, 100%, 40%);">+       float *weightDenum, /* (i) weighting filter denumerator */</span><br><span>        int *idxForMax,     /* (o) quantizer index for maximum</span><br><span>                                   amplitude */</span><br><span>        int *idxVec,    /* (o) vector of quantization indexes */</span><br><span>@@ -10387,7 +10387,7 @@</span><br><span> </span><br><span>    /*----------------------------------------------------------------*</span><br><span>     *  predictive noise shaping encoding of scaled start state</span><br><span style="color: hsl(0, 100%, 40%);">-    *  (subrutine for StateSearchW)</span><br><span style="color: hsl(120, 100%, 40%);">+    *  (subroutine for StateSearchW)</span><br><span>     *---------------------------------------------------------------*/</span><br><span> </span><br><span>    void AbsQuantW(</span><br><span>@@ -10496,7 +10496,7 @@</span><br><span>                            /* (i) Encoder instance */</span><br><span>        float *residual,/* (i) target residual vector */</span><br><span>        float *syntDenum,   /* (i) lpc synthesis filter */</span><br><span style="color: hsl(0, 100%, 40%);">-       float *weightDenum, /* (i) weighting filter denuminator */</span><br><span style="color: hsl(120, 100%, 40%);">+       float *weightDenum, /* (i) weighting filter denumerator */</span><br><span>        int *idxForMax,     /* (o) quantizer index for maximum</span><br><span>                                   amplitude */</span><br><span>        int *idxVec,    /* (o) vector of quantization indexes */</span><br><span>diff --git a/codecs/lpc10/lpc10.h b/codecs/lpc10/lpc10.h</span><br><span>index 82e7b2c..bcdee1f 100644</span><br><span>--- a/codecs/lpc10/lpc10.h</span><br><span>+++ b/codecs/lpc10/lpc10.h</span><br><span>@@ -2,7 +2,7 @@</span><br><span> </span><br><span> $Log$</span><br><span> Revision 1.18  2004/08/31 13:32:11  markster</span><br><span style="color: hsl(0, 100%, 40%);">-Merge NetBSD and Courtesty tone with modifications (bug #2329)</span><br><span style="color: hsl(120, 100%, 40%);">+Merge NetBSD and Courtesy tone with modifications (bug #2329)</span><br><span> </span><br><span> Revision 1.17  2003/10/26 18:50:49  markster</span><br><span> Make it build and run on MacOS X</span><br><span>diff --git a/codecs/lpc10/pitsyn.c b/codecs/lpc10/pitsyn.c</span><br><span>index e345fba..5470ad2 100644</span><br><span>--- a/codecs/lpc10/pitsyn.c</span><br><span>+++ b/codecs/lpc10/pitsyn.c</span><br><span>@@ -538,7 +538,7 @@</span><br><span> </span><br><span> /*             Therefore, UVPIT is in the range 23 to 144 after th</span><br><span> e first */</span><br><span style="color: hsl(0, 100%, 40%);">-/*             assignment to UVPIT below, and after the conditiona</span><br><span style="color: hsl(120, 100%, 40%);">+/*             assignment to UVPIT below, and after the conditional</span><br><span> l */</span><br><span> /*             assignment, it is in the range 23 to 90. */</span><br><span> </span><br><span>diff --git a/codecs/lpc10/placea.c b/codecs/lpc10/placea.c</span><br><span>index 7a485c4..e25ceda 100644</span><br><span>--- a/codecs/lpc10/placea.c</span><br><span>+++ b/codecs/lpc10/placea.c</span><br><span>@@ -152,7 +152,7 @@</span><br><span> /*   a phase-synchronous placement which does not overlap these onsets. */</span><br><span> </span><br><span> /*   Case 2:  Voiced Transition */</span><br><span style="color: hsl(0, 100%, 40%);">-/*   If at least one voicing decision in AF is voicied, and there are no</span><br><span style="color: hsl(120, 100%, 40%);">+/*   If at least one voicing decision in AF is voiced, and there are no</span><br><span> */</span><br><span> /*   onsets, then the window is placed as in case 1. */</span><br><span> </span><br><span>diff --git a/codecs/speex/resample.c b/codecs/speex/resample.c</span><br><span>index 4940a64..6d8fece 100644</span><br><span>--- a/codecs/speex/resample.c</span><br><span>+++ b/codecs/speex/resample.c</span><br><span>@@ -104,7 +104,7 @@</span><br><span> #include "resample_neon.h"</span><br><span> #endif</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-/* Numer of elements to allocate on the stack */</span><br><span style="color: hsl(120, 100%, 40%);">+/* Number of elements to allocate on the stack */</span><br><span> #ifdef VAR_ARRAYS</span><br><span> #define FIXED_STACK_ALLOC 8192</span><br><span> #else</span><br><span></span><br></pre><div style="white-space:pre-wrap"></div><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17409">change 17409</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/17409"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 19 </div>
<div style="display:none"> Gerrit-Change-Id: I471fb8086a5277d8f05047fedee22cfa97a4252d </div>
<div style="display:none"> Gerrit-Change-Number: 17409 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Josh Soref <jsoref@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>