From 70af726dcd0d5141b8b6ec8ef07bc499529c6f28 Mon Sep 17 00:00:00 2001
From: Josh Soref <jsoref@users.noreply.github.com>
Date: Sat, 30 Oct 2021 21:04:39 -0400
Subject: [PATCH] agi: Spelling fixes

Correct typos of the following word families:

pretend
speech

ASTERISK-29714

Change-Id: I7d0527c329cda07552247ea11b2d7db207a3d87d
---
 agi/eagi-test.c | 2 +-
 agi/jukebox.agi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/agi/eagi-test.c b/agi/eagi-test.c
index 28d38fc5b9..28d79946e5 100644
--- a/agi/eagi-test.c
+++ b/agi/eagi-test.c
@@ -93,7 +93,7 @@ static char *wait_result(void)
 				fprintf(stderr, "Got %d/%d bytes of audio\n", res, bytes);
 #endif
 				bytes += res;
-				/* Prentend we detected some audio after 3 seconds */
+				/* Pretend we detected some audio after 3 seconds */
 				if (bytes > 16000 * 3) {
 					return "Sample Message";
 					bytes = 0;
diff --git a/agi/jukebox.agi b/agi/jukebox.agi
index 0d05b45ee7..43d8978743 100755
--- a/agi/jukebox.agi
+++ b/agi/jukebox.agi
@@ -348,7 +348,7 @@ sub music_dir_cache {
 }
 
 # this function will fill the @masterCacheList of all the files that
-# need to have text2speeced ulaw files of their names generated
+# need to have text2speech ulaw files of their names generated
 sub music_dir_cache_genlist {
 	my $dir = shift;
 	if (!opendir(THEDIR, rmts($MUSIC.$dir))) {
-- 
GitLab