| SDL_Perl documentation | view source | Contained in the SDL_Perl distribution. |
SDL::Sound - a perl extension
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';
Sets the volume of the sample.
David J. Goehrig
perl SDL::Mixer
| SDL_Perl documentation | view source | Contained in the SDL_Perl distribution. |