diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-06-14 20:33:44 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-06-14 20:33:44 +0000 |
commit | 849922592a1ae3c3088f362f48a45a8da3f03cbb (patch) | |
tree | f79e7ac21cf3d5abd428cdeb2f0057a43761c16c /pjmedia/include | |
parent | 4c1830ca1329c2d2d8d33a0210dd0458ed05773d (diff) |
Added pjmedia_tonegen_rewind()
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2022 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/tonegen.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/tonegen.h b/pjmedia/include/pjmedia/tonegen.h index dadc036d..ab591732 100644 --- a/pjmedia/include/pjmedia/tonegen.h +++ b/pjmedia/include/pjmedia/tonegen.h @@ -195,6 +195,17 @@ PJ_DECL(pj_status_t) pjmedia_tonegen_stop(pjmedia_port *tonegen); /** + * Rewind the playback. This will start the playback to the first + * tone in the playback list. + * + * @param tonegen The tone generator instance. + * + * @return PJ_SUCCESS on success. + */ +PJ_DECL(pj_status_t) pjmedia_tonegen_rewind(pjmedia_port *tonegen); + + +/** * Instruct the tone generator to play single or dual frequency tones * with the specified duration. The new tones will be appended to currently * playing tones, unless #pjmedia_tonegen_stop() is called before calling |