aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_festival.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-19 21:13:41 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-19 21:13:41 +0000
commit10717cc766b828c2b0b344ad7cd74148939bc294 (patch)
tree788562539a60bddcdd1880d1d76415845a03beac /apps/app_festival.c
parente5d58524be40d77f9d4717c40afff6b5c31fb1c3 (diff)
Merge Olle's comment patch (bug #3097)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4488 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_festival.c')
-rwxr-xr-xapps/app_festival.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/app_festival.c b/apps/app_festival.c
index 7b6f68634..13eaa26b2 100755
--- a/apps/app_festival.c
+++ b/apps/app_festival.c
@@ -120,7 +120,7 @@ static int send_waveform_to_fd(char *waveform, int length, int fd) {
if (x != fd)
close(x);
}
-//IAS
+/*IAS */
#ifdef __PPC__
for( x=0; x<length; x+=2)
{
@@ -216,7 +216,7 @@ static int send_waveform_to_channel(struct ast_channel *chan, char *waveform, in
res = -1;
break;
}
- if (res < needed) { // last frame
+ if (res < needed) { /* last frame */
ast_log(LOG_DEBUG, "Last frame\n");
res=0;
break;
@@ -231,8 +231,9 @@ static int send_waveform_to_channel(struct ast_channel *chan, char *waveform, in
}
close(fds[0]);
close(fds[1]);
-// if (pid > -1)
-// kill(pid, SIGKILL);
+
+/* if (pid > -1) */
+/* kill(pid, SIGKILL); */
if (!res && owriteformat)
ast_set_write_format(chan, owriteformat);
return res;