NewsML_G2/Role/RemoteAudible.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« NewsML_G2/Role/Remote.pm ↑ Summary NewsML_G2/Role/RemoteVisual.pm »
1 package XML::NewsML_G2::Role::RemoteAudible;
2  
3 22 ▶use XML::NewsML_G2::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 22 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 22 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 22 with 'XML::NewsML_G2::Role::Remote';
9  
10 22 has 'duration', isa => 'Str', is => 'rw';
11 22 has 'audiosamplerate', isa => 'Int', is => 'rw';
12 22 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 22 1;
21 __END__
« NewsML_G2/Role/Remote.pm ↑ Summary NewsML_G2/Role/RemoteVisual.pm »