Displaying 1 result from an estimated 1 matches for "getoutsamplerate".
2002 Aug 03
1
vbr / cbr / abr API calls
...nk to the
documentation.
My question is: how to set up different (VBR, CBR, ABR) modes when
calling the Ogg Vorbis API?
Currently I do:
CBR:
ret = vorbis_encode_setup_managed( &vorbisInfo,
getInChannel(),
getOutSampleRate(),
-1,
getOutBitrate() * 1000,
-1)
|| vorbis_encode_ctl( &vorbisInfo, OV_ECTL_RATEMANAGE_AVG, NULL)
|| vorbis_encode_setup_init( &vorbisInfo);
<p>AB...