diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-12-22 09:14:07 -0500 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-12-22 09:14:07 -0500 |
commit | ce3d56920b15facbb64b3caf0d823a3f57c0dded (patch) | |
tree | 0ea4a13885afb281237b3747e85eb6315863ae0a /apps/app_talkdetect.c | |
parent | 35a2e09c655f26067db0f51837704886d6ffff78 (diff) |
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
Diffstat (limited to 'apps/app_talkdetect.c')
-rw-r--r-- | apps/app_talkdetect.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/app_talkdetect.c b/apps/app_talkdetect.c index f7086fdd9..36df6aac1 100644 --- a/apps/app_talkdetect.c +++ b/apps/app_talkdetect.c @@ -21,7 +21,7 @@ * \brief Playback a file with audio detect * * \author Mark Spencer <markster@digium.com> - * + * * \ingroup applications */ @@ -173,7 +173,7 @@ static int background_detect_exec(struct ast_channel *chan, const char *data) ast_verb(3, "BackgroundDetect: Talk analysis time complete on %s.\n", ast_channel_name(chan)); } } - + if (!fr) { res = -1; break; @@ -205,8 +205,8 @@ static int background_detect_exec(struct ast_channel *chan, const char *data) char ms_str[12]; ast_debug(1, "Found qualified token of %d ms\n", ms); - /* Save detected talk time (in milliseconds) */ - snprintf(ms_str, sizeof(ms_str), "%d", ms); + /* Save detected talk time (in milliseconds) */ + snprintf(ms_str, sizeof(ms_str), "%d", ms); pbx_builtin_setvar_helper(chan, "TALK_DETECTED", ms_str); ast_goto_if_exists(chan, ast_channel_context(chan), "talk", 1); @@ -236,7 +236,7 @@ static int background_detect_exec(struct ast_channel *chan, const char *data) if (res > -1) { if (origrformat && ast_set_read_format(chan, origrformat)) { - ast_log(LOG_WARNING, "Failed to restore read format for %s to %s\n", + ast_log(LOG_WARNING, "Failed to restore read format for %s to %s\n", ast_channel_name(chan), ast_format_get_name(origrformat)); } } @@ -257,4 +257,3 @@ static int load_module(void) } AST_MODULE_INFO_STANDARD_EXTENDED(ASTERISK_GPL_KEY, "Playback with Talk Detection"); - |