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 or SDL_AUDIODEVICEREMOVED
timestamp - In milliseconds, populated using SDL_GetTicks( )
which - The audio device index for the ADDED event (valid until next SDL_GetNumAudioDevices( ) call), SDL_AudioDeviceID for the REMOVED event
iscapture - zero if an output device, non-zero if a capture device
padding1
padding2
padding3

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.

AUTHOR

Sanko Robinson <sanko@cpan.org>