diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-29 00:06:08 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-29 00:06:08 +0000 |
commit | 31f04e79318a9865796c88a8957d996e9d6fbf45 (patch) | |
tree | 265226ede6962ca4adc600a521e69c9379af0d68 /include/asterisk | |
parent | 4a5c618632ac4eddab103ad9afbd8c5226153eab (diff) |
Merge a change from team/russell/chan_refcount ...
This makes ast_stopstream() thread-safe.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@90142 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/file.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h index 69229d406..cada23413 100644 --- a/include/asterisk/file.h +++ b/include/asterisk/file.h @@ -172,11 +172,16 @@ int ast_streamfile(struct ast_channel *c, const char *filename, const char *pref int ast_stream_and_wait(struct ast_channel *chan, const char *file, const char *language, const char *digits); -/*! Stops a stream */ -/*! +/*! + * \brief Stops a stream + * * \param c The channel you wish to stop playback on + * * Stop playback of a stream - * Returns 0 regardless + * + * \retval 0 always + * + * \note The channel does not need to be locked before calling this function. */ int ast_stopstream(struct ast_channel *c); |