<p>Josh Soref has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17398">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">funcs: Spelling fixes<br><br>Correct typos of the following word families:<br><br>effectively<br>emitted<br>expect<br>anthony<br><br>ASTERISK-29714<br><br>Change-Id: Ic16f9ec855bb6d14ec8e170b90af9a36b06d488a<br>---<br>M funcs/func_pitchshift.c<br>M funcs/func_sprintf.c<br>M funcs/func_strings.c<br>M funcs/func_talkdetect.c<br>4 files changed, 8 insertions(+), 8 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/98/17398/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/funcs/func_pitchshift.c b/funcs/func_pitchshift.c</span><br><span>index a2bdfc5..779f064 100644</span><br><span>--- a/funcs/func_pitchshift.c</span><br><span>+++ b/funcs/func_pitchshift.c</span><br><span>@@ -330,14 +330,14 @@</span><br><span>      float *sys_magn = fft_data->sys_magn;</span><br><span> </span><br><span>         double magn, phase, tmp, window, real, imag;</span><br><span style="color: hsl(0, 100%, 40%);">-    double freq_per_bin, expct;</span><br><span style="color: hsl(120, 100%, 40%);">+   double freq_per_bin, expect;</span><br><span>         long i,k, qpd, index, in_fifo_latency, step_size, fft_frame_size2;</span><br><span> </span><br><span>       /* set up some handy variables */</span><br><span>    fft_frame_size2 = fft_frame_size / 2;</span><br><span>        step_size = fft_frame_size / osamp;</span><br><span>  freq_per_bin = sample_rate / (double) fft_frame_size;</span><br><span style="color: hsl(0, 100%, 40%);">-   expct = 2. * M_PI * (double) step_size / (double) fft_frame_size;</span><br><span style="color: hsl(120, 100%, 40%);">+     expect = 2. * M_PI * (double) step_size / (double) fft_frame_size;</span><br><span>   in_fifo_latency = fft_frame_size-step_size;</span><br><span> </span><br><span>      if (fft_data->gRover == 0) {</span><br><span>@@ -383,7 +383,7 @@</span><br><span>                                last_phase[k] = phase;</span><br><span> </span><br><span>                           /* subtract expected phase difference */</span><br><span style="color: hsl(0, 100%, 40%);">-                                tmp -= (double) k * expct;</span><br><span style="color: hsl(120, 100%, 40%);">+                            tmp -= (double) k * expect;</span><br><span> </span><br><span>                              /* map delta phase into +/- Pi interval */</span><br><span>                           qpd = tmp / M_PI;</span><br><span>@@ -436,7 +436,7 @@</span><br><span>                              tmp = 2. * M_PI * tmp / osamp;</span><br><span> </span><br><span>                           /* add the overlap phase advance back in */</span><br><span style="color: hsl(0, 100%, 40%);">-                             tmp += (double) k * expct;</span><br><span style="color: hsl(120, 100%, 40%);">+                            tmp += (double) k * expect;</span><br><span> </span><br><span>                              /* accumulate delta phase to get bin phase */</span><br><span>                                sum_phase[k] += tmp;</span><br><span>diff --git a/funcs/func_sprintf.c b/funcs/func_sprintf.c</span><br><span>index 29dcfed..aa236c4 100644</span><br><span>--- a/funcs/func_sprintf.c</span><br><span>+++ b/funcs/func_sprintf.c</span><br><span>@@ -21,7 +21,7 @@</span><br><span>  * \brief String manipulation dialplan functions</span><br><span>  *</span><br><span>  * \author Tilghman Lesher</span><br><span style="color: hsl(0, 100%, 40%);">- * \author Anothony Minessale II</span><br><span style="color: hsl(120, 100%, 40%);">+ * \author Anthony Minessale II</span><br><span>  * \ingroup functions</span><br><span>  */</span><br><span> </span><br><span>diff --git a/funcs/func_strings.c b/funcs/func_strings.c</span><br><span>index c70c9bd..28fe6e0 100644</span><br><span>--- a/funcs/func_strings.c</span><br><span>+++ b/funcs/func_strings.c</span><br><span>@@ -22,7 +22,7 @@</span><br><span>  * \brief String manipulation dialplan functions</span><br><span>  *</span><br><span>  * \author Tilghman Lesher</span><br><span style="color: hsl(0, 100%, 40%);">- * \author Anothony Minessale II</span><br><span style="color: hsl(120, 100%, 40%);">+ * \author Anthony Minessale II</span><br><span>  * \author Naveen Albert</span><br><span>  * \ingroup functions</span><br><span>  */</span><br><span>@@ -149,7 +149,7 @@</span><br><span>               <description></span><br><span>                  <para>Searches for all instances of the <replaceable>find-string</replaceable> in provided variable and</span><br><span>                    replaces them with <replaceable>replace-string</replaceable>.  If <replaceable>replace-string</replaceable></span><br><span style="color: hsl(0, 100%, 40%);">-                     is an empty string, this will effecively delete that substring.  If <replaceable>max-replacements</replaceable></span><br><span style="color: hsl(120, 100%, 40%);">+                   is an empty string, this will effectively delete that substring.  If <replaceable>max-replacements</replaceable></span><br><span>                         is specified, this function will stop after performing replacements <replaceable>max-replacements</replaceable> times.</para></span><br><span>                      <note><para>The replacement only occurs in the output.  The original variable is not altered.</para></note></span><br><span>          </description></span><br><span>diff --git a/funcs/func_talkdetect.c b/funcs/func_talkdetect.c</span><br><span>index 22f4d35..8453111 100644</span><br><span>--- a/funcs/func_talkdetect.c</span><br><span>+++ b/funcs/func_talkdetect.c</span><br><span>@@ -77,7 +77,7 @@</span><br><span>            </syntax></span><br><span>              <description></span><br><span>                  <para>The TALK_DETECT function enables events on the channel</span><br><span style="color: hsl(0, 100%, 40%);">-                      it is applied to. These events can be emited over AMI, ARI, and</span><br><span style="color: hsl(120, 100%, 40%);">+                       it is applied to. These events can be emitted over AMI, ARI, and</span><br><span>                     potentially other Asterisk modules that listen for the internal</span><br><span>                      notification.</para></span><br><span>                   <para>The function has two parameters that can optionally be passed</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17398">change 17398</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/+/17398"/><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: Ic16f9ec855bb6d14ec8e170b90af9a36b06d488a </div>
<div style="display:none"> Gerrit-Change-Number: 17398 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Josh Soref <jsoref@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>