Displaying 2 results from an estimated 2 matches for "bpch".
Did you mean:
bach
2001 Aug 20
1
Another // comment
.../usr/local/cvsroot/vorbis/lib/vorbisenc.c,v
retrieving revision 1.12
diff -c -r1.12 vorbisenc.c
*** vorbis/lib/vorbisenc.c 2001/08/13 11:33:40 1.12
--- vorbis/lib/vorbisenc.c 2001/08/20 10:48:49
***************
*** 135,141 ****
switch(channels){
case 2:
! //if(rate>40000){
if(bpch<35000){
mode=&info_44c_Z;
--- 135,141 ----
switch(channels){
case 2:
! /* if(rate>40000){ */
if(bpch<35000){
mode=&info_44c_Z;
***************
*** 154,160 ****
}else{
mode=&info_44c_E;
}
! //}
break;
default...
2001 Jan 17
0
bitrate scaling by freq / quality bug ? / comments
Hi again!
I have some other suggestions/modifications.
1. Bitrate scaling by frequency in vorbis_encode_init:
bpch=(long)((float)nominal_bitrate/(float)channels*44100.0f/(float)rate);
With this modification, if we use -b128 at 22khz files, the OGG file
will be 128kbit/s, not 64kbit/s ...
2. Probable quality bug:
I tested some floating point constants (recalculated them (see below)
and encoded some songs with &...