bug fix: maximum bitrate setting fixed for Ogg Vorbis streams

This commit is contained in:
darkeye 2002-08-22 21:52:08 +00:00
parent 88a8a23d9c
commit 0ec63f40e1
3 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,7 @@
DarkIce next release
o bug fix: maximum bitrate setting fixed for Ogg Vorbis streams
20-08-2002: DarkIce 0.11 released
o added possibility to specify maximum bitrate for Ogg Vorbis streams

View File

@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/DarkIce.cpp)
AM_INIT_AUTOMAKE(darkice, 0.11)
AM_INIT_AUTOMAKE(darkice, 0.11.1beta)
AM_CONFIG_HEADER(config.h)

View File

@ -133,9 +133,9 @@ VorbisLibEncoder :: open ( void )
if ( (ret = vorbis_encode_init( &vorbisInfo,
getInChannel(),
getOutSampleRate(),
-1,
maxBitrate,
getOutBitrate() * 1000,
maxBitrate)) ) {
-1)) ) {
throw Exception( __FILE__, __LINE__,
"vorbis encode init error", ret);
}
@ -368,6 +368,9 @@ VorbisLibEncoder :: close ( void ) throw ( Exception )
$Source$
$Log$
Revision 1.14 2002/08/22 21:52:08 darkeye
bug fix: maximum bitrate setting fixed for Ogg Vorbis streams
Revision 1.13 2002/08/20 19:35:37 darkeye
added possibility to specify maximum bitrate for Ogg Vorbis streams