PulseAudio::Types
This module provides PulseAudio types using MooseX::Types. All types have both an is_ and to_ shorthand per MooseX::Types.
This type coerces from percents '50%' and from the shorthands MAX, HALF, MUTE (0), and MIN (0).
Simple type coerces from on/off/true/false/y*/n*.
Takes an int, or an object that has an index attribute (like PulseAudio::Sink and PulseAudio::Source) resolving to the index stored in the attribute.
Takes an str, or an object that has an name attribute (like PulseAudio::Samples) resolving to the index stored in the attribute.
To install PulseAudio, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PulseAudio
CPAN shell
perl -MCPAN -e shell install PulseAudio
For more information on module installation, please visit the detailed CPAN module installation guide.