Dongxu Ma > Audio-TagLib-1.43 > Audio::TagLib::Ogg::Vorbis::Properties

Download:
Audio-TagLib-1.43.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 1.41   Source   Latest Release: Audio-TagLib-1.50_01

NAME ^

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

SYNOPSIS ^

  use Audio::TagLib::Ogg::Vorbis::Properties;
  
  my $f = Audio::TagLib::Ogg::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.

syntax highlighting: