10 Jun 2009 15:13:10 UTC
- Development release
- Distribution: Audio-TagLib
- Module version: 1.41
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (5)
- Testers (0 / 11 / 10)
- KwaliteeBus factor: 1
- License: perl_5
- Activity24 month
- Download (1.45MB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Audio::TagLib::Ogg::File - An implementation of Audio::TagLib::File with some helpers for Ogg based formats
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.
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.
None by default.
Dongxu Ma, <email@example.com>
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.
Module Install Instructions
To install Audio::TagLib, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Audio::TagLib
For more information on module installation, please visit the detailed CPAN module installation guide.