diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-01 21:05:01 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-01 21:05:01 +0000 |
commit | aefb78692b59c3300a2f8e390a33472a7c01f593 (patch) | |
tree | 0e64a13bcccf56a3612e24ed42caba3143dcda0c /apps/app_festival.c | |
parent | 4993d60f477c890e4f4aed217df025ff76254ae8 (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@24049 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_festival.c')
-rw-r--r-- | apps/app_festival.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_festival.c b/apps/app_festival.c index d3bd1e9b9..de1830fd2 100644 --- a/apps/app_festival.c +++ b/apps/app_festival.c @@ -53,6 +53,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/config.h" #include "asterisk/utils.h" #include "asterisk/lock.h" +#include "asterisk/options.h" #define FESTIVAL_CONFIG "festival.conf" @@ -136,6 +137,9 @@ static int send_waveform_to_fd(char *waveform, int length, int fd) { if (x != fd) close(x); } + if (option_highpriority) + ast_set_priority(0); + /*IAS */ #ifdef __PPC__ for( x=0; x<length; x+=2) |