package Audio::TagLib::Vorbis::Properties; use 5.008003; use strict; use warnings; our $VERSION = '1.41'; use Audio::TagLib; our @ISA = qw(Audio::TagLib::AudioProperties); # Preloaded methods go here. BEGIN : { no strict 'refs'; unless (grep {/^new$/ } keys %__PACKAGE__::) { *Audio::TagLib::Vorbis::Properties:: = *Audio::TagLib::Ogg::Vorbis::Properties:: ; } } 1; __END__ # Below is stub documentation for your module. You'd better edit it! =head1 NAME Audio::TagLib::Vorbis::Properties - An implementation of audio property reading for Ogg Vorbis =head1 SYNOPSIS use Audio::TagLib::Vorbis::Properties; my $f = Audio::TagLib::Vorbis::File->("sample ogg file.ogg"); my $i = $f->audioProperties(); print $i->channels(), "\n"; # normally got 2 =head1 DESCRIPTION This reads the data from an Ogg Vorbis stream found in the AudioProperties API. =over =item I $file, PV $style = "Average")> Create an instance of Vorbis::Properties with the data read from the Vorbis::File $file. =item I Destroys this VorbisProperties instance. =item I =item I =item I =item I see L =item I Returns the Vorbis version, currently "0" (as specified by the spec). =item I Returns the maximum bitrate as read from the Vorbis identification header. =item I Returns the nominal bitrate as read from the Vorbis identification header. =item I Returns the minimum bitrate as read from the Vorbis identification header. =back =head2 EXPORT None by default. =head1 SEE ALSO L L =head1 AUTHOR Dongxu Ma, Edongxu@cpan.orgE =head1 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. =cut