diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-09-18 14:01:35 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-09-18 14:01:35 +0000 |
commit | 4001f3d4198cde7f8a87f8de3089c835b3754a0f (patch) | |
tree | 9e94952aab78e4c200de8806df2eba4a382c10dd /include/asterisk/app.h | |
parent | a931e88c904e4e4f879b8d088959a6ec5dd0982b (diff) |
Clarify descriptions of VM functions moved to app (bug #2463)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3805 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/app.h')
-rwxr-xr-x | include/asterisk/app.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asterisk/app.h b/include/asterisk/app.h index 314feb3d9..4b26a73ea 100755 --- a/include/asterisk/app.h +++ b/include/asterisk/app.h @@ -60,13 +60,13 @@ int ast_control_streamfile(struct ast_channel *chan, char *file, char *fwd, char //! Play a stream and wait for a digit, returning the digit that was pressed int ast_play_and_wait(struct ast_channel *chan, char *fn); -//! Record a file for a max amount of time, in a given list of formats separated by '|', outputting the duration of the recording, and with a maximum -// permitted silence time of 'maxsilence' under 'silencethreshold' or use '-1' for either or both parameters for defaults. -int ast_play_and_record(struct ast_channel *chan, char *playfile, char *recordfile, int maxtime, char *fmt, int *duration, int silencethreshold, int maxsilence); +//! Record a file for a max amount of time (in seconds), in a given list of formats separated by '|', outputting the duration of the recording, and with a maximum +// permitted silence time in milliseconds of 'maxsilence' under 'silencethreshold' or use '-1' for either or both parameters for defaults. +int ast_play_and_record(struct ast_channel *chan, char *playfile, char *recordfile, int maxtime_sec, char *fmt, int *duration, int silencethreshold, int maxsilence_ms); //! Record a message and prepend the message to the given record file after playing the optional playfile (or a beep), storing the duration in 'duration' and with a maximum -// permitted silence time of 'maxsilence' under 'silencethreshold' or use '-1' for either or both parameters for defaults. -int ast_play_and_prepend(struct ast_channel *chan, char *playfile, char *recordfile, int maxtime, char *fmt, int *duration, int beep, int silencethreshold, int maxsilence); +// permitted silence time in milliseconds of 'maxsilence' under 'silencethreshold' or use '-1' for either or both parameters for defaults. +int ast_play_and_prepend(struct ast_channel *chan, char *playfile, char *recordfile, int maxtime_sec, char *fmt, int *duration, int beep, int silencethreshold, int maxsilence_ms); #if defined(__cplusplus) || defined(c_plusplus) } |