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