our @EXPORT_OK = @constants;
our @EXPORT = @constants;
-our $VERSION = '0.001';
+our $VERSION = '0.002001';
sub AUTOLOAD {
# This AUTOLOAD is used to 'autoload' constants from the constant()
require XSLoader;
XSLoader::load('Audio::Opusfile', $VERSION);
require Audio::Opusfile::Tags;
+require Audio::Opusfile::PictureTag;
# Preloaded methods go here.
Opus files.
Audio::Opusfile is an interface to libopusfile. At the moment its only
-function is reading tags from an Ogg Opus file. Future versions will
-give access to a larger part of the libopusfile API.
+function is reading metadata and tags from an Ogg Opus file. Future
+versions will give access to a larger part of the libopusfile API.
Expect the API to change in future versions.
Dies if the given file does not exist or is not a valid Ogg Opus file.
+=item B<$of>->head
+
+Returns an L<Audio::Opusfile::Head> object corresponding to the file.
+
=item B<$of>->tags
Returns an L<Audio::Opusfile::Tags> object corresponding to the file.