SDL::Sound - a perl extension


SDL_Perl documentation  | view source Contained in the SDL_Perl distribution.

Index


NAME

Top

SDL::Sound - a perl extension

DESCRIPTION

Top

SDL::Sound is a module for loading WAV files for sound effects. The file can be loaded by creating a new SDL::Sound object by passing the filename to the constructor;

	my $sound = new SDL::Sound 'my_sfx.wav';

METHODS

Top

volume ( value )

Sets the volume of the sample.

AUTHOR

Top

David J. Goehrig

SEE ALSO

Top

perl SDL::Mixer


SDL_Perl documentation  | view source Contained in the SDL_Perl distribution.