blib/lib/XML/NewsML_G2/Audio.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/XML/NewsML_G2.pm ↑ Summary blib/lib/XML/NewsML_G2/Binary.pm »
1 package XML::NewsML_G2::Audio;
2  
3 19 ▶use XML::NewsML_G2::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 19 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 19 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 19 with 'XML::NewsML_G2::Role::RemoteAudible';
9  
10 19 __PACKAGE__->meta->make_immutable;
11  
12 19 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.
« blib/lib/XML/NewsML_G2.pm ↑ Summary blib/lib/XML/NewsML_G2/Binary.pm »