Audio::TagLib::Vorbis::File 1.42 review

Download
by rbytes.net on

Audio::TagLib::Vorbis::File is an implementation of Ogg::File with Vorbis specific methods. SYNOPSIS use Audio::TagLib::Vorbi

License: GPL (GNU General Public License)
File size: 1479K
Developer: Dongxu Ma
0 stars award from rbytes.net

Audio::TagLib::Vorbis::File is an implementation of Ogg::File with Vorbis specific methods.

SYNOPSIS

use Audio::TagLib::Vorbis::File;

my $i = Audio::TagLib::Vorbis::File->new("sample vorblis file.ogg");
print $i->tag()->comment()->toCString(), "n"; # got comment

This is the central class in the Ogg Vorbis metadata processing collection of classes. It's built upon Ogg::File which handles processing of the Ogg logical bitstream and breaking it down into pages which are handled by the codec implementations, in this case Vorbis specifically.

new(PV $file, BOOL $readProperties = TRUE, PV $propertiesStyle = "Average")
Contructs a Vorbis file from $file. If $readProperties is true the file's audio properties will also be read using $propertiesStyle. If false, $propertiesStyle is ignored.

DESTROY()

Destroys this instance of the File.

Ogg::XiphComment tag()

Returns the XiphComment for this file. XiphComment implements the tag interface, so this serves as the reimplementation of Audio::TagLib::File::tag().

Properties audioProperties()

Returns the Vorbis::Properties for this file. If no audio properties were read then this will return undef.

BOOL save()

Saves the File.

Requirements:
Perl

Audio::TagLib::Vorbis::File 1.42 search tags