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


Audio-TagLib documentation  | view source Contained in the Audio-TagLib distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  use Audio::TagLib::FLAC::Properties;

  my $i = Audio::TagLib::FLAC::Properties->new("sample file.flac");
  print $i->channels(); # should be 2 usually

DESCRIPTION

Top

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

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

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

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

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

DESTROY()

Destroys this FLAC::Properties instance.

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

see AudioProperties

sampleWidth()

Returns the sample width as read from the FLAC 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  | view source Contained in the Audio-TagLib distribution.