line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Audio::File::Flac; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
33
|
|
4
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
36
|
|
5
|
1
|
|
|
1
|
|
5
|
use base qw( Audio::File::Type ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
607
|
|
6
|
1
|
|
|
1
|
|
781
|
use Audio::File::Flac::Tag; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
35
|
|
7
|
1
|
|
|
1
|
|
11435
|
use Audio::File::Flac::AudioProperties; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
484
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '0.02'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub init { |
12
|
1
|
|
|
1
|
1
|
9
|
return 1; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _create_tag { |
16
|
1
|
|
|
1
|
|
2
|
my $self = shift; |
17
|
1
|
50
|
|
|
|
6
|
$self->{tag} = Audio::File::Flac::Tag->new( $self->name() ) or return; |
18
|
1
|
|
|
|
|
4
|
return 1; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub _create_audio_properties { |
22
|
1
|
|
|
1
|
|
2
|
my $self = shift; |
23
|
1
|
50
|
|
|
|
3
|
$self->{audio_properties} = Audio::File::Flac::AudioProperties->new( $self->name() ) or return; |
24
|
1
|
|
|
|
|
6
|
return 1; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |