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


Audio-TagLib documentation Contained in the Audio-TagLib distribution.

Index


Code Index:

NAME

Top

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

SYNOPSIS

Top

  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

Top

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

Top

Audio::TagLib AudioProperties

AUTHOR

Top

Dongxu Ma, <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Top


Audio-TagLib documentation Contained in the Audio-TagLib distribution.

package Audio::TagLib::Ogg::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::Ogg::Vorbis::Properties:: = *Audio::TagLib::Vorbis::Properties:: ;
      }
  }

1;
__END__
# Below is stub documentation for your module. You'd better edit it!