[pascal]
begin
SDL_INIT(SDL_INIT_AUDIO);
if baudioopen = true then begin
writeln('Error! SDL Audio could not be initialized.');
sdl_quit;
readln;
exit;
end
else
begin
writeln('stage 1- initialization');
baudioopen := false;
audio_rate := 22050;
audio_format := AUDIO_S16SYS;
audio_channels := MIX_DEFAULT_CHANNELS;
song := 'testx.mp3';
//song := 'test.wav';
wave := mix_loadmus(song);
error := mix_geterror;
writeln(error);
if wave = nil then begin
writeln('Couldn''t load ',song,'.');
sdl_quit;
readln;
exit;
end;
mix_playmusic(wave,loops);
if wave <> nil then begin
mix_freemusic(wave);
wave := nil;
end;
if baudioopen then begin
baudioopen := false;
mix_closeAudio;
end;
sdl_quit;
end;
end.
[/pascal]

Ok, thats my code. The result, depending on the audio file being run, is:
WAV File:
[pascal]
Couldn't Load WAV File.
[/pascal]

MP3 File:
[pascal]
Module Format not Recognized.
[/pascal]

Anyone have a clue where my problem is?