Ignore:
Timestamp:
Oct 20, 2006 11:08:49 AM (18 years ago)
Author:
bennylp
Message:

Changed the processing of mp3 _options in mp3 writer with regard to bit_rate and quality to comply with LAME, also changed the pjsua_recorder_create() parameter to allow specifying mp3 options in one of the parameter

File:
1 edited

Legend:

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

    r783 r785  
    6060typedef struct pjmedia_mp3_encoder_option 
    6161{ 
    62     /** Specify whether variable bit rate should be used (say Yes!).        */ 
     62    /** Specify whether variable bit rate should be used. Variable bitrate 
     63     *  would normally produce better quality at the expense of probably 
     64     *  larger file. 
     65     */ 
    6366    pj_bool_t   vbr; 
    6467 
    65     /** Target bitrate, in bps. If zero, bitrate will be  calculated.       */ 
     68    /** Target bitrate, in bps. For VBR, if the bitrate is specified, then  
     69     *  the encoder will ignore the quality settings and instead will try to  
     70     *  limit the bitrate to the desired value in this setting. 
     71     */ 
    6672    unsigned    bit_rate; 
    6773 
    68     /** Encoding quality, 0-9, with 0 is the highest.                       */ 
     74    /** Encoding quality, 0-9, with 0 is the highest quality. For VBR, the  
     75     *  quality setting will only take effect when bit_rate setting is zero. 
     76     */ 
    6977    unsigned    quality; 
    7078 
Note: See TracChangeset for help on using the changeset viewer.