don't use managed mode for cbr
git-svn-id: https://svn.musicpd.org/mpd/trunk@2458 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
5ffa401e74
commit
b0d7d6b06f
|
@ -348,7 +348,7 @@ static int initEncoder(ShoutData * sd) {
|
|||
}
|
||||
}
|
||||
else {
|
||||
if( 0 != vorbis_encode_setup_managed(&(sd->vi),
|
||||
if( 0 != vorbis_encode_init(&(sd->vi),
|
||||
sd->outAudioFormat.channels,
|
||||
sd->outAudioFormat.sampleRate, -1.0,
|
||||
sd->bitrate*1000, -1.0) )
|
||||
|
|
Loading…
Reference in New Issue