The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Audio::TagLib::Vorbis::Properties - An implementation of audio property reading for Ogg Vorbis

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

DESCRIPTION

This reads the data from an Ogg Vorbis stream found in the AudioProperties API.

new(File $file, PV $style = "Average")

Create an instance of Vorbis::Properties with the data read from the Vorbis::File $file.

DESTROY()

Destroys this VorbisProperties instance.

IV length()
IV bitrate()
IV sampleRate()
IV channels()

see AudioProperties

IV vorbisVersion()

Returns the Vorbis version, currently "0" (as specified by the spec).

IV bitrateMaximum()

Returns the maximum bitrate as read from the Vorbis identification header.

IV bitrateNominal()

Returns the nominal bitrate as read from the Vorbis identification header.

IV bitrateMinimum()

Returns the minimum bitrate as read from the Vorbis identification header.

EXPORT

None by default.

SEE ALSO

Audio::TagLib AudioProperties

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.