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