Audio::TagLib::Ogg::File - An implementation of Audio::TagLib::File with some


Audio-TagLib documentation  | view source Contained in the Audio-TagLib distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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

Top

Audio::TagLib File

AUTHOR

Top

Dongxu Ma, <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Top


Audio-TagLib documentation  | view source Contained in the Audio-TagLib distribution.