use vbr for now, less cpu usage for some reason

git-svn-id: https://svn.musicpd.org/mpd/trunk@2304 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-10-22 20:43:20 +00:00
parent cffe4c00db
commit 36a2d853bd

View File

@ -202,11 +202,8 @@ static int shout_openDevice(AudioOutput * audioOutput,
vorbis_info_init(&(sd->vi));
#define BITRATE 128
if( 0 != vorbis_encode_init(&(sd->vi), audioFormat->channels,
audioFormat->sampleRate, BITRATE*1000, BITRATE*1000,
BITRATE*1000))
if( 0 != vorbis_encode_init_vbr(&(sd->vi), audioFormat->channels,
audioFormat->sampleRate, 0.5) )
{
ERROR("problem seting up vorbis encoder for shout\n");
vorbis_info_clear(&(sd->vi));