[Asterisk-code-review] funcs: Spelling fixes (asterisk[master])
Josh Soref
asteriskteam at digium.com
Sun Nov 7 13:36:49 CST 2021
Josh Soref has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/17308 )
Change subject: funcs: Spelling fixes
......................................................................
funcs: Spelling fixes
Correct typos of the following word families:
effectively
emitted
expect
anthony
ASTERISK-29714
Change-Id: Ic16f9ec855bb6d14ec8e170b90af9a36b06d488a
---
M funcs/func_pitchshift.c
M funcs/func_sprintf.c
M funcs/func_strings.c
M funcs/func_talkdetect.c
4 files changed, 8 insertions(+), 8 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/08/17308/1
diff --git a/funcs/func_pitchshift.c b/funcs/func_pitchshift.c
index a2bdfc5..779f064 100644
--- a/funcs/func_pitchshift.c
+++ b/funcs/func_pitchshift.c
@@ -330,14 +330,14 @@
float *sys_magn = fft_data->sys_magn;
double magn, phase, tmp, window, real, imag;
- double freq_per_bin, expct;
+ double freq_per_bin, expect;
long i,k, qpd, index, in_fifo_latency, step_size, fft_frame_size2;
/* set up some handy variables */
fft_frame_size2 = fft_frame_size / 2;
step_size = fft_frame_size / osamp;
freq_per_bin = sample_rate / (double) fft_frame_size;
- expct = 2. * M_PI * (double) step_size / (double) fft_frame_size;
+ expect = 2. * M_PI * (double) step_size / (double) fft_frame_size;
in_fifo_latency = fft_frame_size-step_size;
if (fft_data->gRover == 0) {
@@ -383,7 +383,7 @@
last_phase[k] = phase;
/* subtract expected phase difference */
- tmp -= (double) k * expct;
+ tmp -= (double) k * expect;
/* map delta phase into +/- Pi interval */
qpd = tmp / M_PI;
@@ -436,7 +436,7 @@
tmp = 2. * M_PI * tmp / osamp;
/* add the overlap phase advance back in */
- tmp += (double) k * expct;
+ tmp += (double) k * expect;
/* accumulate delta phase to get bin phase */
sum_phase[k] += tmp;
diff --git a/funcs/func_sprintf.c b/funcs/func_sprintf.c
index 29dcfed..aa236c4 100644
--- a/funcs/func_sprintf.c
+++ b/funcs/func_sprintf.c
@@ -21,7 +21,7 @@
* \brief String manipulation dialplan functions
*
* \author Tilghman Lesher
- * \author Anothony Minessale II
+ * \author Anthony Minessale II
* \ingroup functions
*/
diff --git a/funcs/func_strings.c b/funcs/func_strings.c
index c70c9bd..28fe6e0 100644
--- a/funcs/func_strings.c
+++ b/funcs/func_strings.c
@@ -22,7 +22,7 @@
* \brief String manipulation dialplan functions
*
* \author Tilghman Lesher
- * \author Anothony Minessale II
+ * \author Anthony Minessale II
* \author Naveen Albert
* \ingroup functions
*/
@@ -149,7 +149,7 @@
<description>
<para>Searches for all instances of the <replaceable>find-string</replaceable> in provided variable and
replaces them with <replaceable>replace-string</replaceable>. If <replaceable>replace-string</replaceable>
- is an empty string, this will effecively delete that substring. If <replaceable>max-replacements</replaceable>
+ is an empty string, this will effectively delete that substring. If <replaceable>max-replacements</replaceable>
is specified, this function will stop after performing replacements <replaceable>max-replacements</replaceable> times.</para>
<note><para>The replacement only occurs in the output. The original variable is not altered.</para></note>
</description>
diff --git a/funcs/func_talkdetect.c b/funcs/func_talkdetect.c
index 22f4d35..8453111 100644
--- a/funcs/func_talkdetect.c
+++ b/funcs/func_talkdetect.c
@@ -77,7 +77,7 @@
</syntax>
<description>
<para>The TALK_DETECT function enables events on the channel
- it is applied to. These events can be emited over AMI, ARI, and
+ it is applied to. These events can be emitted over AMI, ARI, and
potentially other Asterisk modules that listen for the internal
notification.</para>
<para>The function has two parameters that can optionally be passed
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17308
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ic16f9ec855bb6d14ec8e170b90af9a36b06d488a
Gerrit-Change-Number: 17308
Gerrit-PatchSet: 1
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211107/79b45558/attachment.html>
More information about the asterisk-code-review
mailing list