File Coverage

lib/SDL2/AudioDeviceEvent.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package SDL2::AudioDeviceEvent {
2 2     2   15 use SDL2::Utils;
  2         4  
  2         19  
3             has
4             type => 'uint32',
5             timestamp => 'uint32',
6             which => 'uint32',
7             iscapture => 'uint8',
8             padding1 => 'uint8',
9             padding2 => 'uint8',
10             padding3 => 'uint8';
11              
12             =encoding utf-8
13              
14             =head1 NAME
15              
16             SDL2::AudioDeviceEvent - Audio device event structure
17              
18             =head1 SYNOPSIS
19              
20             use SDL2 qw[:all];
21             # TODO: I need to whip up a quick example
22              
23             =head1 DESCRIPTION
24            
25              
26             =head1 Fields
27              
28             =over
29              
30             =item C - C or C
31              
32             =item C - In milliseconds, populated using L<< C|SDL2::FFI/C >>
33              
34             =item C - The audio device index for the C event (valid until next L<< C|SDL2::FFI/C >> call), C for the C event
35              
36             =item C - zero if an output device, non-zero if a capture device
37              
38             =item C
39              
40             =item C
41              
42             =item C
43              
44             =back
45              
46             =head1 AUTHOR
47              
48             Sanko Robinson Esanko@cpan.orgE
49              
50             =begin stopwords
51              
52              
53             =end stopwords
54              
55             =cut
56              
57             };
58             1;