Commit b0d7d6b0 authored by Warren Dukes's avatar Warren Dukes

don't use managed mode for cbr

git-svn-id: https://svn.musicpd.org/mpd/trunk@2458 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 5ffa401e
...@@ -348,7 +348,7 @@ static int initEncoder(ShoutData * sd) { ...@@ -348,7 +348,7 @@ static int initEncoder(ShoutData * sd) {
} }
} }
else { else {
if( 0 != vorbis_encode_setup_managed(&(sd->vi), if( 0 != vorbis_encode_init(&(sd->vi),
sd->outAudioFormat.channels, sd->outAudioFormat.channels,
sd->outAudioFormat.sampleRate, -1.0, sd->outAudioFormat.sampleRate, -1.0,
sd->bitrate*1000, -1.0) ) sd->bitrate*1000, -1.0) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment