10 Jun 2009 15:13:10 UTC
- Development release
- Distribution: Audio-TagLib
- Module version: 1.41
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (5)
- Testers (0 / 11 / 10)
- KwaliteeBus factor: 1
- License: perl_5
- Activity24 month
- Download (1.45MB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Audio::TagLib::FLAC::Properties - An implementation of audio property reading for FLAC
use Audio::TagLib::FLAC::Properties; my $i = Audio::TagLib::FLAC::Properties->new("sample file.flac"); print $i->channels(); # should be 2 usually
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.
Destroys this FLAC::Properties instance.
- IV length()
- IV bitrate()
- IV sampleRate()
- IV channels()
Returns the sample width as read from the FLAC identification header.
None by default.
Dongxu Ma, <email@example.com>
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.
Module Install Instructions
To install Audio::TagLib, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Audio::TagLib
For more information on module installation, please visit the detailed CPAN module installation guide.