fixed incorrect vorbis bitrate setting

This commit is contained in:
darkeye 2001-10-21 13:08:18 +00:00
parent d398578542
commit dc4867b214
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,7 @@
DarkIce 0.8 DarkIce 0.8
o added possibility to disable lowpass and highpass filtering for lame o added possibility to disable lowpass and highpass filtering for lame
o fixed incorrect vorbis bitrate setting
19-10-2001: DarkIce 0.7 released 19-10-2001: DarkIce 0.7 released

View File

@ -75,9 +75,9 @@ VorbisLibEncoder :: open ( void )
if ( (ret = vorbis_encode_init( &vorbisInfo, if ( (ret = vorbis_encode_init( &vorbisInfo,
getInChannel(), getInChannel(),
getInSampleRate(), getInSampleRate(),
getOutBitrate(), -1,
getOutBitrate(), getOutBitrate() * 1000,
getOutBitrate() )) ) { -1 )) ) {
throw Exception( __FILE__, __LINE__, "vorbis encode init error", ret); throw Exception( __FILE__, __LINE__, "vorbis encode init error", ret);
} }
@ -359,6 +359,9 @@ VorbisLibEncoder :: close ( void ) throw ( Exception )
$Source$ $Source$
$Log$ $Log$
Revision 1.5 2001/10/21 13:08:18 darkeye
fixed incorrect vorbis bitrate setting
Revision 1.4 2001/10/19 12:39:42 darkeye Revision 1.4 2001/10/19 12:39:42 darkeye
created configure options to compile with or without lame / Ogg Vorbis created configure options to compile with or without lame / Ogg Vorbis