blib/lib/Audio/LibSampleRate.pm

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 32 / 32 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« LibSampleRate.xs ↑ Summary
1 package Audio::LibSampleRate;
2  
3 1 ▶use 5.008009;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use parent qw/Exporter/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 my @constants;
9 1 ▶BEGIN { @constants = qw/SRC_SINC_BEST_QUALITY SRC_SINC_MEDIUM_QUALITY SRC_SINC_FASTEST SRC_ZERO_ORDER_HOLD SRC_LINEAR/ }
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use constant +{ map { $constants[$_] => $_ } 0 .. $#constants };
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 our @EXPORT_OK = (qw/src_simple src_get_name src_get_description/, @constants);
13 1 our @EXPORT = @EXPORT_OK;
14  
15 1 our $VERSION = '0.002001';
16  
17 1 ▶use XSLoader;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 XSLoader::load('Audio::LibSampleRate', $VERSION);
19  
20 1 1;
21 __END__
« LibSampleRate.xs ↑ Summary