summaryrefslogtreecommitdiff
path: root/apps/app_playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_playback.c')
-rw-r--r--apps/app_playback.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/apps/app_playback.c b/apps/app_playback.c
index 7c895e362..5303bb47d 100644
--- a/apps/app_playback.c
+++ b/apps/app_playback.c
@@ -21,7 +21,7 @@
* \brief Trivial application to playback a sound file
*
* \author Mark Spencer <markster@digium.com>
- *
+ *
* \ingroup applications
*/
@@ -163,7 +163,7 @@ static int s_streamwait3(const say_args_t *a, const char *fn)
ast_waitstream_full(a->chan, a->ints, a->audiofd, a->ctrlfd) :
ast_waitstream(a->chan, a->ints);
ast_stopstream(a->chan);
- return res;
+ return res;
}
/*! \brief
@@ -174,7 +174,7 @@ static int do_say(say_args_t *a, const char *s, const char *options, int depth)
{
struct ast_variable *v;
char *lang, *x, *rule = NULL;
- int ret = 0;
+ int ret = 0;
struct varshead head = { .first = NULL, .last = NULL };
struct ast_var_t *n;
@@ -274,7 +274,7 @@ static int do_say(say_args_t *a, const char *s, const char *options, int depth)
strcpy(fn2 + l, data);
ret = do_say(a, fn2, options, depth);
}
-
+
if (ret) {
break;
}
@@ -372,9 +372,9 @@ static int say_init_mode(const char *mode) {
ast_say_enumeration_full = say_enumeration_full;
#if 0
- /*! \todo XXX
+ /*! \todo XXX
These functions doesn't exist.
- say.conf.sample indicates this is working...
+ say.conf.sample indicates this is working...
*/
ast_say_digits_full = say_digits_full;
ast_say_digit_str_full = say_digit_str_full;
@@ -392,7 +392,7 @@ static int say_init_mode(const char *mode) {
ast_log(LOG_WARNING, "unrecognized mode %s\n", mode);
return -1;
}
-
+
return 0;
}
@@ -403,7 +403,7 @@ static char *__say_cli_init(struct ast_cli_entry *e, int cmd, struct ast_cli_arg
switch (cmd) {
case CLI_INIT:
e->command = "say load [new|old]";
- e->usage =
+ e->usage =
"Usage: say load [new|old]\n"
" say load\n"
" Report status of current say mode\n"
@@ -447,7 +447,7 @@ static int playback_exec(struct ast_channel *chan, const char *data)
AST_APP_ARG(filenames);
AST_APP_ARG(options);
);
-
+
if (ast_strlen_zero(data)) {
ast_log(LOG_WARNING, "Playback requires an argument (filename)\n");
return -1;
@@ -463,7 +463,7 @@ static int playback_exec(struct ast_channel *chan, const char *data)
option_say = 1;
if (strcasestr(args.options, "noanswer"))
option_noanswer = 1;
- }
+ }
if (ast_channel_state(chan) != AST_STATE_UP) {
if (option_skip) {
/* At the user's option, skip if the line is not up */
@@ -528,7 +528,7 @@ static int reload(void)
}
}
}
-
+
/*! \todo
* XXX here we should sort rules according to the same order
* we have in pbx.c so we have the same matching behaviour.
@@ -547,7 +547,7 @@ static int unload_module(void)
if (say_cfg)
ast_config_destroy(say_cfg);
- return res;
+ return res;
}
static int load_module(void)