diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-12-22 09:23:22 -0500 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-12-22 09:23:22 -0500 |
commit | fd0ca1c3f9b972a52d48a82b492fd6bac772dc78 (patch) | |
tree | 42d2a87726d196f4db1c68489007520a4c597062 /apps/app_amd.c | |
parent | 9ef97b5a9191e51f1edc66bb17728fd9fe552c35 (diff) |
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
Diffstat (limited to 'apps/app_amd.c')
-rw-r--r-- | apps/app_amd.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/app_amd.c b/apps/app_amd.c index 25649d4b6..e10f2cc01 100644 --- a/apps/app_amd.c +++ b/apps/app_amd.c @@ -32,7 +32,7 @@ * \addtogroup configuration_file Configuration Files */ -/*! +/*! * \page amd.conf amd.conf * \verbinclude amd.conf.sample */ @@ -314,7 +314,7 @@ static void isAnsweringMachine(struct ast_channel *chan, const char *data) if (dspsilence > 0) { silenceDuration = dspsilence; - + if (silenceDuration >= betweenWordsSilence) { if (currentState != STATE_IN_SILENCE ) { ast_verb(3, "AMD: Channel [%s]. Changed state to STATE_IN_SILENCE\n", ast_channel_name(chan)); @@ -336,7 +336,7 @@ static void isAnsweringMachine(struct ast_channel *chan, const char *data) res = 1; break; } - + if (silenceDuration >= afterGreetingSilence && inGreeting == 1) { ast_verb(3, "AMD: Channel [%s]. HUMAN: silenceDuration:%d afterGreetingSilence:%d\n", ast_channel_name(chan), silenceDuration, afterGreetingSilence); @@ -346,7 +346,7 @@ static void isAnsweringMachine(struct ast_channel *chan, const char *data) res = 1; break; } - + } else { consecutiveVoiceDuration += framelength; voiceDuration += framelength; @@ -395,12 +395,12 @@ static void isAnsweringMachine(struct ast_channel *chan, const char *data) inInitialSilence = 0; inGreeting = 1; } - + } } ast_frfree(f); } - + if (!res) { /* It took too long to get a frame back. Giving up. */ ast_verb(3, "AMD: Channel [%s]. Too long...\n", ast_channel_name(chan)); @@ -505,8 +505,8 @@ static int unload_module(void) * Module loading including tests for configuration or dependencies. * This function can return AST_MODULE_LOAD_FAILURE, AST_MODULE_LOAD_DECLINE, * or AST_MODULE_LOAD_SUCCESS. If a dependency or environment variable fails - * tests return AST_MODULE_LOAD_FAILURE. If the module can not load the - * configuration file or other non-critical problem return + * tests return AST_MODULE_LOAD_FAILURE. If the module can not load the + * configuration file or other non-critical problem return * AST_MODULE_LOAD_DECLINE. On success return AST_MODULE_LOAD_SUCCESS. */ static int load_module(void) |