Dongxu Ma > Audio-TagLib-1.43 > Audio::TagLib::Ogg::File

Download:
Audio-TagLib-1.43.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 1.41   Source   Latest Release: Audio-TagLib-1.50_01

NAME ^

Audio::TagLib::Ogg::File - An implementation of Audio::TagLib::File with some helpers for Ogg based formats

DESCRIPTION ^

This is an implementation of Ogg file page and packet rendering and is of use to Ogg based formats. While the API is small this handles the non-trivial details of breaking up an Ogg stream into packets and makes these available (via subclassing) to the codec meta data implementations.

DESTROY()

Destroys the instance of File.

ByteVector packet(UV $i)

Returns the packet contents for the i-th packet (starting from zero) in the Ogg bitstream.

WARNING The requires reading at least the packet header for every page up to the requested page.

void setPacket(UV $i, ByteVector $p)

Sets the packet with index $i to the value $p.

PageHeader firstPageHeader()

Returns the PageHeader for the first page in the stream or undef if the page could not be found.

PageHeader lastPageHeader()

Returns the PageHeader for the last page in the stream or undef if the page could not be found.

BOOL save()

Saves the file.

EXPORT

None by default.

SEE ALSO ^

Audio::TagLib File

AUTHOR ^

Dongxu Ma, <dongxu@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2005 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: