Audio::TagLib::MPC::Properties - An implementation of audio property reading


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

Index


Code Index:

NAME

Top

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

SYNOPSIS

Top

  use Audio::TagLib::MPC::Properties;

  my $f = Audio::TagLib::MPC::File->new("sample mpc file.mpc");
  my $i = $f->audioProperties();
  print $i->channels(), "\n"; # normally got 2

DESCRIPTION

Top

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

new(ByteVector $data, IV $streamLength, PV $style = "Average")

Create an instance of MPC::Properties with the data read from the ByteVector $data.

DESTROY()

Destroys this MPC::Properties instance.

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

see AudioProperties

IV mpcVersion()

Returns the version of the bitstream (SV4-SV7)

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::MPC::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.

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