summaryrefslogtreecommitdiff
path: root/apps/app_controlplayback.c
diff options
context:
space:
mode:
authorMichiel van Baak <michiel@vanbaak.info>2008-02-09 11:27:10 +0000
committerMichiel van Baak <michiel@vanbaak.info>2008-02-09 11:27:10 +0000
commit4dccb58fb7f8fd8a2a0e5dba0f4d58b39c277022 (patch)
treee41e80e4e3a91bbae96d141e8300a25335865986 /apps/app_controlplayback.c
parent9d4d240b941e547912438487d5b91567803da743 (diff)
whitespace fixes only.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_controlplayback.c')
-rw-r--r--apps/app_controlplayback.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/apps/app_controlplayback.c b/apps/app_controlplayback.c
index 85bcf7b92..f79ab6d42 100644
--- a/apps/app_controlplayback.c
+++ b/apps/app_controlplayback.c
@@ -17,14 +17,14 @@
*/
/*! \file
- *
+ *
* \brief Trivial application to control playback of a sound file
*
* \author Mark Spencer <markster@digium.com>
- *
+ *
* \ingroup applications
*/
-
+
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
@@ -37,7 +37,7 @@ static const char *app = "ControlPlayback";
static const char *synopsis = "Play a file with fast forward and rewind";
-static const char *descrip =
+static const char *descrip =
" ControlPlayback(file[,skipms[,ff[,rew[,stop[,pause[,restart,options]]]]]]]):\n"
"This application will play back the given filename. By default, the '*' key\n"
"can be used to rewind, and the '#' key can be used to fast-forward.\n"
@@ -71,7 +71,8 @@ enum {
AST_APP_OPTIONS(cpb_opts, BEGIN_OPTIONS
AST_APP_OPTION_ARG('o', OPT_OFFSET, OPT_ARG_OFFSET),
-END_OPTIONS );
+ END_OPTIONS
+);
static int is_on_phonepad(char key)
{
@@ -148,7 +149,7 @@ static int controlplayback_exec(struct ast_channel *chan, void *data)
args.restart = NULL;
if (args.options) {
- ast_app_parse_options(cpb_opts, &opts, opt_args, args.options);
+ ast_app_parse_options(cpb_opts, &opts, opt_args, args.options);
if (ast_test_flag(&opts, OPT_OFFSET))
offsetms = atol(opt_args[OPT_ARG_OFFSET]);
}