Vorbisfile documentation

libVorbisfile version 1.65 - 20020702

vorbis_comment

declared in "vorbis/codec.h"  "vorbis/vorbisfile.h"で定義されている

The vorbis_comment structure defines an Ogg Vorbis comment.
vorbis_comment構造体はOggVorbisコメントを定義する。

Only the fields the program needs must be defined. If a field isn't defined by the application, it will either be blank (if it's a string value) or set to some reasonable default (usually 0).
プログラムが必要と思われるフィールドのみ定義されなければならない。 もしあるフィールドがアプリケーションによって定義されて無い場合、 これらは(文字列値で無い場合)空になるか、適当なデフォルト値(普通0)にセットされる。

typedef struct vorbis_comment{
  /* unlimited user comment fields. */
  char **user_comments;
  int  *comment_lengths;
  int  comments;
  char *vendor;

} vorbis_comment;

Parameters

user_comments
Unlimited user comment array. The individual strings in the array are 8 bit clean, by the Vorbis specification, and as such the comment_lengths array should be consulted to determine string length. For convenience, each string is also NULL-terminated by the decode library (although Vorbis comments are not NULL terminated within the bitstream itself).
無制限のユーザーコメント配列。Vorbisの仕様により、配列内の1つの文字列は8ビットにそろえてあり、comment_lengths 配列を文字列の長さを決定するために参照するべきである。 便利にするため、それぞれの文字列はまた、デコードライブラリにより NULL で終端される。 (Vorbisコメントがビットストリーム内でそれ自身 NULL で終端されていなくても)
comment_lengths
An int array that stores the length of each comment string
それぞれのコメント文字列の長さが格納されるint配列。
comments
Int signifying number of user comments in user_comments field.
user_comments フィールド内に存在するユーザーコメントの数を表す整数。
vendor
Information about the creator of the file. Stored in a standard C 0-terminated string.
ファイルの作成者の情報。C標準の0で終わった文字列が格納されている。



copyright © 2002 Xiph.org

Ogg Vorbis

Vorbisfile documentation

libVorbisfile version 1.65 - 20020702