Blame doc/libvorbis/vorbis_comment_query.html

Packit 06404a
<html>
Packit 06404a
Packit 06404a
<head>
Packit 06404a
<title>libvorbis - function - vorbis_comment_query</title>
Packit 06404a
<link rel=stylesheet href="style.css" type="text/css">
Packit 06404a
</head>
Packit 06404a
Packit 06404a
<body bgcolor=white text=black link="#5555ff" alink="#5555ff" vlink="#5555ff">
Packit 06404a
Packit 06404a
Packit 06404a

libvorbis documentation

Packit 06404a

libvorbis version 1.3.2 - 20101101

Packit 06404a
Packit 06404a
Packit 06404a
Packit 06404a

vorbis_comment_query

Packit 06404a
Packit 06404a

declared in "vorbis/codec.h";

Packit 06404a
Packit 06404a

This function retrieves a comment string for a given tag in a

Packit 06404a
vorbis_comment structure.

Packit 06404a
Packit 06404a
Packit 06404a
Packit 06404a
	
Packit 06404a
Packit 06404a
extern char    *vorbis_comment_query(vorbis_comment *vc, const char *tag, int count);
Packit 06404a
Packit 06404a
	
Packit 06404a
Packit 06404a
Packit 06404a
Packit 06404a

Parameters

Packit 06404a
Packit 06404a
vc
Packit 06404a
Pointer to the vorbis_comment structure.
Packit 06404a
tag
Packit 06404a
Pointer to a null-terminated string of the comment tag to look
Packit 06404a
for. Tags are compared case-insensitively.
Packit 06404a
count
Packit 06404a
The index of the comment string to retrieve. A value of 0 indicates
Packit 06404a
the first comment whose tag matches tag. Use
Packit 06404a
vorbis_comment_query_count
Packit 06404a
to determine the number of matching comments.
Packit 06404a
Packit 06404a
Packit 06404a
Packit 06404a

Return Values

Packit 06404a
Packit 06404a
  • A pointer to the comment string. The underlying buffer is owned by
  • Packit 06404a
    the vorbis_comment structure.
    Packit 06404a
  • NULL on a nonexistent tag or if count is greater than or
  • Packit 06404a
    equal to the number of matching comments.
    Packit 06404a
    Packit 06404a

    Packit 06404a
    Packit 06404a


    Packit 06404a

    Packit 06404a
    Packit 06404a
    Packit 06404a

    copyright © 2010 Xiph.Org

    Packit 06404a

    Ogg Vorbis

    Packit 06404a
    Packit 06404a

    libvorbis documentation

    Packit 06404a

    libvorbis version 1.3.2 - 20101101

    Packit 06404a
    Packit 06404a
    Packit 06404a
    Packit 06404a
    Packit 06404a
    </body>
    Packit 06404a
    Packit 06404a
    </html>