3 # a SDL_mixer data module
5 # Copyright (C) 2000,2002 David J. Goehrig
13 my $class = ref($proto) || $proto;
15 my $self = \SDL::MixLoadMusic($filename);
22 SDL::MixFreeMusic($$self);
33 SDL::Music - a perl extension
37 L<SDL::Music> is used to load music files for use with L<SDL::Mixer>.
38 To load a music file one simply creates a new object passing the filename
41 my $music = new SDL::Music 'my_song.ogg';