cannam@86: cannam@86: cannam@86:
cannam@86:libvorbis documentation |
cannam@86: libvorbis version 1.3.2 - 20101101 |
cannam@86:
declared in "vorbis/codec.h";
cannam@86: cannam@86:This function decodes a header packet from a Vorbis stream and applies cannam@86: the contents to the given vorbis_info cannam@86: structure (to provide codec parameters to the decoder) and cannam@86: vorbis_comment structure (to provide cannam@86: access to the embedded Vorbis comments).
cannam@86: cannam@86:Once the three Vorbis header packets (info, comments, cannam@86: and codebooks, in that order) have been passed to this cannam@86: function, the vorbis_info cannam@86: structure is ready to be used in a call to cannam@86: vorbis_synthesis_init.
cannam@86: cannam@86:
cannam@86: cannam@86: extern int vorbis_synthesis_headerin(vorbis_info *vi,vorbis_comment *vc, cannam@86: ogg_packet *op); cannam@86:cannam@86: |
cannam@86:
cannam@86:cannam@86:0 on success. cannam@86:OV_ENOTVORBIS if the packet is not a Vorbis header packet. cannam@86:OV_EBADHEADER if there was an error interpreting the packet. cannam@86:OV_EFAULT on internal error. cannam@86:
cannam@86:
cannam@86:
cannam@86:
copyright © 2010 Xiph.Org |
cannam@86: cannam@86: |
libvorbis documentation |
cannam@86: libvorbis version 1.3.2 - 20101101 |
cannam@86: