diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/audioOutput_shout.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/audioOutput_shout.c b/src/audioOutput_shout.c index 12162b240..fdf1937a4 100644 --- a/src/audioOutput_shout.c +++ b/src/audioOutput_shout.c @@ -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)); |