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