Changeset 786 for pjproject/trunk/pjmedia/src/pjmedia/mp3_writer.c
- Timestamp:
- Oct 21, 2006 9:23:37 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/mp3_writer.c
r785 r786 201 201 LConfig.format.LHV1.bWriteVBRHeader = 1; 202 202 LConfig.format.LHV1.dwVbrAbr_bps = fport->mp3_option.bit_rate; 203 LConfig.format.LHV1.nVBRQuality = (pj_uint16_t) 204 fport->mp3_option.quality; 203 205 LConfig.format.LHV1.bEnableVBR = 1; 204 206 } 205 207 206 LConfig.format.LHV1.nQuality = (pj_uint16_t)fport->mp3_option.quality; 208 LConfig.format.LHV1.nQuality = (pj_uint16_t) 209 (((0-fport->mp3_option.quality-1)<<8) | 210 fport->mp3_option.quality); 207 211 208 212 /*
Note: See TracChangeset
for help on using the changeset viewer.