diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-09-05 22:52:26 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-09-05 22:52:26 +0000 |
commit | bd760259fde9e1f5f5f1d71a509f8999a50d6fa4 (patch) | |
tree | 80c5e892fb153f2ed8dec727b11850e952824190 /pjmedia/include | |
parent | 0b10957f8616c1e3c9ed66442f0f880fe5ead450 (diff) |
Added volume control to indivual tone enqueued to the tone generator.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@694 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/tonegen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/tonegen.h b/pjmedia/include/pjmedia/tonegen.h index c1d47200..5d232a4c 100644 --- a/pjmedia/include/pjmedia/tonegen.h +++ b/pjmedia/include/pjmedia/tonegen.h @@ -62,6 +62,7 @@ typedef struct pjmedia_tone_desc short freq2; /**< Optional second frequency. */ short on_msec; /**< Playback ON duration, in miliseconds. */ short off_msec; /**< Playback OFF duration, ini miliseconds. */ + short volume; /**< Volume (1-16383), or 0 for default. */ } pjmedia_tone_desc; @@ -75,6 +76,7 @@ typedef struct pjmedia_tone_digit char digit; /**< The ASCI identification for the digit. */ short on_msec; /**< Playback ON duration, in miliseconds. */ short off_msec; /**< Playback OFF duration, ini miliseconds. */ + short volume; /**< Volume (1-16383), or 0 for default. */ } pjmedia_tone_digit; |