| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package XML::NewsML_G2::Role::RemoteAudible; |
|
2
|
|
|
|
|
|
|
|
|
3
|
18
|
|
|
18
|
|
12144
|
use XML::NewsML_G2::Types; |
|
|
18
|
|
|
|
|
46
|
|
|
|
18
|
|
|
|
|
547
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
18
|
|
|
18
|
|
7405
|
use Moose::Role; |
|
|
18
|
|
|
|
|
80709
|
|
|
|
18
|
|
|
|
|
70
|
|
|
6
|
18
|
|
|
18
|
|
91080
|
use namespace::autoclean; |
|
|
18
|
|
|
|
|
43
|
|
|
|
18
|
|
|
|
|
134
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
with 'XML::NewsML_G2::Role::Remote'; |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has 'duration', isa => 'Str', is => 'rw'; |
|
11
|
|
|
|
|
|
|
has 'audiosamplerate', isa => 'Int', is => 'rw'; |
|
12
|
|
|
|
|
|
|
has 'audiochannels', isa => 'Str', is => 'rw'; |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
# IIM : |
|
15
|
|
|
|
|
|
|
# 2:150 Audio Type '1A' |
|
16
|
|
|
|
|
|
|
# 2:151 Audio Sampling Rate "011025" for a sample rate of 11025 Hz |
|
17
|
|
|
|
|
|
|
# 2:152 Audio Sampling Resolution "08" for a sample size of 8 bits |
|
18
|
|
|
|
|
|
|
# 2:153 Audio Duration "000105" for a cut lasting one minute, five seconds |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
|
21
|
|
|
|
|
|
|
__END__ |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 NAME |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
XML::NewsML_G2::Remote - Used by Picture, Graphics, Video |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
my $pic = XML::NewsML_G2::Video->new |
|
30
|
|
|
|
|
|
|
(size => 2231259, |
|
31
|
|
|
|
|
|
|
width => 1280, |
|
32
|
|
|
|
|
|
|
height => 720, |
|
33
|
|
|
|
|
|
|
duration => 220, |
|
34
|
|
|
|
|
|
|
); |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=over 4 |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item duration |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
The playtime of the audio in seconds |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=item audiosamplerate |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
The sample rate of the audio |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item audiochannels |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
The number of audio channels (stereo, mono) |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item mimetype |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
The MIME type of the video file (e.g. image/jpg) |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=back |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 AUTHOR |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Mario Paumann C<< <mario.paumann@apa.at> >> |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 LICENCE AND COPYRIGHT |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Copyright (c) 2013-2014, APA-IT. All rights reserved. |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
See L<XML::NewsML_G2> for the license. |