blib/lib/SDL2/AudioDeviceEvent.pm untested

filter: Statementstmt 0.0% 0 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 5 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package SDL2::AudioDeviceEvent {
2 use SDL2::Utils;
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<type> - C<SDL_AUDIODEVICEADDED> or C<SDL_AUDIODEVICEREMOVED>
31  
32 =item C<timestamp> - In milliseconds, populated using L<< C<SDL_GetTicks( )>|SDL2::FFI/C<SDL_GetTicks( )> >>
33  
34 =item C<which> - The audio device index for the C<ADDED> event (valid until next L<< C<SDL_GetNumAudioDevices( )>|SDL2::FFI/C<SDL_GetNumAudioDevices( )> >> call), C<SDL_AudioDeviceID> for the C<REMOVED> event
35  
36 =item C<iscapture> - zero if an output device, non-zero if a capture device
37  
38 =item C<padding1>
39  
40 =item C<padding2>
41  
42 =item C<padding3>
43  
44 =back
45  
46 =head1 AUTHOR
47  
48 Sanko Robinson E<lt>sanko@cpan.orgE<gt>
49  
50 =begin stopwords
51  
52  
53 =end stopwords
54  
55 =cut
56  
57 };
58 1;