Ignore:
Timestamp:
Sep 16, 2008 4:28:40 PM (16 years ago)
Author:
bennylp
Message:

More ticket #619: fix the difference of volume in the fixed point version of the tone generator, added PJMEDIA_TONEGEN_VOLUME setting to control the default amplitude, and increase default tone volume by about 50%

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/tonegen.h

    r2039 r2284  
    6464    short   on_msec;        /**< Playback ON duration, in miliseconds.      */ 
    6565    short   off_msec;       /**< Playback OFF duration, ini miliseconds.    */ 
    66     short   volume;         /**< Volume (1-16383), or 0 for default.        */ 
     66    short   volume;         /**< Volume (1-32767), or 0 for default, which 
     67                                 PJMEDIA_TONEGEN_VOLUME will be used.       */ 
    6768} pjmedia_tone_desc; 
    6869 
     
    7879    short   on_msec;        /**< Playback ON duration, in miliseconds.      */ 
    7980    short   off_msec;       /**< Playback OFF duration, ini miliseconds.    */ 
    80     short   volume;         /**< Volume (1-16383), or 0 for default.        */ 
     81    short   volume;         /**< Volume (1-32767), or 0 for default, which 
     82                                 PJMEDIA_TONEGEN_VOLUME will be used.       */ 
    8183} pjmedia_tone_digit; 
    8284 
Note: See TracChangeset for help on using the changeset viewer.