diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-10-21 09:23:37 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-10-21 09:23:37 +0000 |
commit | 059af568d6c275b40d241716155fbfe4f27f2e5b (patch) | |
tree | d7a8b60bd39cdf137b0b3ed440650d173b384c4c /pjmedia/include | |
parent | f7d8a18e6d9b7591884c9afa2501ef49a490d4ad (diff) |
Fixed quality setting in MP3 writer (thanks Toni again)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@786 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/mp3_port.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pjmedia/include/pjmedia/mp3_port.h b/pjmedia/include/pjmedia/mp3_port.h index 279ab1ab..db4b3477 100644 --- a/pjmedia/include/pjmedia/mp3_port.h +++ b/pjmedia/include/pjmedia/mp3_port.h @@ -65,9 +65,11 @@ typedef struct pjmedia_mp3_encoder_option */ pj_bool_t vbr; - /** Target bitrate, in bps. For VBR, if the bitrate is specified, then - * the encoder will ignore the quality settings and instead will try to - * limit the bitrate to the desired value in this setting. + /** Target bitrate, in bps. If VBR is enabled, this settings specifies + * the average bit-rate requested, and will make the encoder ignore + * the quality setting. For CBR, this specifies the actual bitrate, + * and if this option is zero, it will be set to the sampling rate + * multiplied by number of channels. */ unsigned bit_rate; |