NAME
SDL2::AudioDeviceEvent - Audio device event structure
SYNOPSIS
use SDL2 qw[:all];
# TODO: I need to whip up a quick example
DESCRIPTION
Fields
type
-SDL_AUDIODEVICEADDED
orSDL_AUDIODEVICEREMOVED
timestamp
- In milliseconds, populated usingSDL_GetTicks( )
which
- The audio device index for theADDED
event (valid until nextSDL_GetNumAudioDevices( )
call),SDL_AudioDeviceID
for theREMOVED
eventiscapture
- zero if an output device, non-zero if a capture devicepadding1
padding2
padding3
AUTHOR
Sanko Robinson <sanko@cpan.org>