From: Leon Brocard Date: Fri, 9 Oct 2009 15:13:01 +0000 (+0100) Subject: Remove SDL::Init, add comment about frequency X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=061fcbaab83c659da6ae8456aca15a9c45ff9aea;p=sdlgit%2FSDL_perl.git Remove SDL::Init, add comment about frequency --- diff --git a/test/wave.pl b/test/wave.pl index fcb8cbb..ec9af65 100644 --- a/test/wave.pl +++ b/test/wave.pl @@ -8,10 +8,9 @@ use SDL; use SDL::Mixer; use SDL::Sound; -SDL::Init(SDL_INIT_AUDIO); - my $filename = shift || 'data/sample.wav'; +# we want a frequency that is higher than the default my $mixer = SDL::Mixer->new( -frequency => 44100, );