Fixed quality setting in MP3 writer (thanks Toni again)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@786 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjmedia/include/pjmedia/mp3_port.h b/pjmedia/include/pjmedia/mp3_port.h
index 279ab1a..db4b347 100644
--- a/pjmedia/include/pjmedia/mp3_port.h
+++ b/pjmedia/include/pjmedia/mp3_port.h
@@ -65,9 +65,11 @@
*/
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;