| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package XML::NewsML_G2::Audio; |
|
2
|
|
|
|
|
|
|
|
|
3
|
18
|
|
|
18
|
|
6457
|
use XML::NewsML_G2::Types; |
|
|
18
|
|
|
|
|
58
|
|
|
|
18
|
|
|
|
|
649
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
18
|
|
|
18
|
|
10688
|
use Moose; |
|
|
18
|
|
|
|
|
2728344
|
|
|
|
18
|
|
|
|
|
121
|
|
|
6
|
18
|
|
|
18
|
|
121111
|
use namespace::autoclean; |
|
|
18
|
|
|
|
|
44
|
|
|
|
18
|
|
|
|
|
167
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
with 'XML::NewsML_G2::Role::RemoteAudible'; |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
1; |
|
13
|
|
|
|
|
|
|
__END__ |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 NAME |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
XML::NewsML_G2::Audio - a audio specification |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
my $pic = XML::NewsML_G2::Audio->new |
|
22
|
|
|
|
|
|
|
(size => 2231259, |
|
23
|
|
|
|
|
|
|
width => 1280, |
|
24
|
|
|
|
|
|
|
height => 720, |
|
25
|
|
|
|
|
|
|
duration => 220, |
|
26
|
|
|
|
|
|
|
); |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=over 4 |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=item size |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
The size in bytes of the audio file |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=item duration |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
The playtime of the audio in seconds |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item audiosamplerate |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
The sample rate of the audio |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=item audiochannels |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
The number of audio channels (stereo, mono) |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item mimetype |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
The MIME type of the audio file (e.g. image/jpg) |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=back |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 AUTHOR |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Mario Paumann C<< <mario.paumann@apa.at> >> |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 LICENCE AND COPYRIGHT |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Copyright (c) 2013-2014, APA-IT. All rights reserved. |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
See L<XML::NewsML_G2> for the license. |