cannam@86: cannam@86: cannam@86:
cannam@86:libvorbisenc documentation |
cannam@86: libvorbisenc version 1.3.2 - 20101101 |
cannam@86:
declared in "vorbis/vorbisenc.h";
cannam@86: cannam@86:This is the primary function within libvorbisenc for setting up managed bitrate modes. cannam@86:
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. cannam@86:
The max_bitrate, nominal_bitrate, and min_bitrate settings are used to set constraints for the encoded file. This function uses these settings to select the appropriate encoding mode and set it up. cannam@86:
cannam@86:
cannam@86:
cannam@86: cannam@86: extern int vorbis_encode_init(vorbis_info *vi, cannam@86: long channels, cannam@86: long rate, cannam@86: cannam@86: long max_bitrate, cannam@86: long nominal_bitrate, cannam@86: long min_bitrate); cannam@86: cannam@86:cannam@86: |
cannam@86:
cannam@86:cannam@86:cannam@86: 0 for success cannam@86: cannam@86:less than zero for failure: cannam@86:cannam@86:
cannam@86:- OV_EFAULT - Internal logic fault; indicates a bug or heap/stack corruption.
cannam@86:- OV_EINVAL - Invalid setup request, eg, out of range argument.
cannam@86:- OV_EIMPL - Unimplemented mode; unable to comply with bitrate request.
cannam@86:
cannam@86:
cannam@86:
cannam@86:
copyright © 2000-2010 Xiph.Org |
cannam@86: cannam@86: |
libvorbisenc documentation |
cannam@86: libvorbisenc version 1.3.2 - 20101101 |
cannam@86: