libvorbisenc documentation |
libvorbisenc version 1.3.2 - 20101101 |
declared in "vorbis/vorbisenc.h";
This is the primary function within libvorbisenc for setting up variable bitrate ("quality" based) modes.
Before this function is called, the vorbis_info struct should be initialized by using vorbis_info_init() from the libvorbis API. After encoding, vorbis_info_clear should be called.
extern int vorbis_encode_init_vbr(vorbis_info *vi, long channels, long rate, float base_quality); |
0 for success less than zero for failure:
- OV_EFAULT - Internal logic fault; indicates a bug or heap/stack corruption.
- OV_EINVAL - Invalid setup request, eg, out of range argument.
- OV_EIMPL - Unimplemented mode; unable to comply with quality level request.
copyright © 2000-2010 Xiph.Org |
|
libvorbisenc documentation |
libvorbisenc version 1.3.2 - 20101101 |