0
0

Hi everybody!
I’m new in the world of delphi and fmod’s too. I’ve downloaded fmod but I still don’t get how to play a simple mp3 file…

[code:3lzrki5t]
uses
SysUtils,fmod,fmodtypes;

begin
while FSOUND_Init(44100, 32, 0) = true do
begin
FSOUND_Stream_Open(’keane.mp3′,FSOUND_HW2D,0,0);
FSOUND_Stream_Play(1,FSOUND_Stream_Open(’keane.mp3′,FSOUND_HW2D,0,0));
end;
end.[/code:3lzrki5t]
the “keane.mp3” file is in the same directory than the .dpr.
can somebody tell me what’s wrong?

  • You must to post comments
0
0

I finaly resolved my problem but I got a new one… 😥
I don’t understand how to get the spectrum for a mp3 file… can somebody help me? A example would be great or just an explanation
thank you

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.