agi: Spelling fixes
Correct typos of the following word families: pretend speech ASTERISK-29714 Change-Id: I7d0527c329cda07552247ea11b2d7db207a3d87d
This commit is contained in:
parent
f1f23bbe4e
commit
9641d15039
|
@ -93,7 +93,7 @@ static char *wait_result(void)
|
||||||
fprintf(stderr, "Got %d/%d bytes of audio\n", res, bytes);
|
fprintf(stderr, "Got %d/%d bytes of audio\n", res, bytes);
|
||||||
#endif
|
#endif
|
||||||
bytes += res;
|
bytes += res;
|
||||||
/* Prentend we detected some audio after 3 seconds */
|
/* Pretend we detected some audio after 3 seconds */
|
||||||
if (bytes > 16000 * 3) {
|
if (bytes > 16000 * 3) {
|
||||||
return "Sample Message";
|
return "Sample Message";
|
||||||
bytes = 0;
|
bytes = 0;
|
||||||
|
|
|
@ -348,7 +348,7 @@ sub music_dir_cache {
|
||||||
}
|
}
|
||||||
|
|
||||||
# this function will fill the @masterCacheList of all the files that
|
# 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 {
|
sub music_dir_cache_genlist {
|
||||||
my $dir = shift;
|
my $dir = shift;
|
||||||
if (!opendir(THEDIR, rmts($MUSIC.$dir))) {
|
if (!opendir(THEDIR, rmts($MUSIC.$dir))) {
|
||||||
|
|
Loading…
Reference in New Issue