Dongxu Ma > Audio-TagLib-1.43 > Audio::TagLib::MPC::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::MPC::Properties - An implementation of audio property reading for MPC

SYNOPSIS ^

  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 ^

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 ^

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: