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:cannam@86: The vorbis_comment structure defines an Ogg Vorbis comment. cannam@86:
cannam@86: Only the fields the program needs must be defined. If a field isn't cannam@86: defined by the application, it will either be blank (if it's a string value) cannam@86: or set to some reasonable default (usually 0). cannam@86:
cannam@86: Note: When encoding, while it is supported to modify a cannam@86: vorbis_comment structure directly, be sure to read the notes on the cannam@86: vorbis_comment_init and cannam@86: vorbis_comment_clear pages for cannam@86: considerations on memory allocation and freeing before you do so. Rule of cannam@86: thumb: call vorbis_comment_init, then either do all allocation, cannam@86: freeing, and modification yourself and do not call cannam@86: vorbis_comment_clear, or do all modification using libvorbis cannam@86: functions and do call vorbis_comment_clear. cannam@86:
cannam@86: cannam@86:
cannam@86: typedef struct vorbis_comment{ cannam@86: /* unlimited user comment fields. */ cannam@86: char **user_comments; cannam@86: int *comment_lengths; cannam@86: int comments; cannam@86: char *vendor; cannam@86: cannam@86: } vorbis_comment;cannam@86: |
cannam@86:
copyright © 2000-2010 Xiph.Org |
cannam@86: cannam@86: |
libvorbis documentation |
cannam@86: libvorbis version 1.3.2 - 20101101 |
cannam@86: