0
0

I loaded four instances of fmod.dll in my application.
When I was using fmod 3.7.2 everything was ok, but with 3.7.5 my application doesn’t work.

one of the instance is used for opening, closing, reading length, 3dtags,

and the other instances are used for playing files.

Now when i open stream with first fmod i can’t play it on other instance.

why ?

  • You must to post comments
0
0

something like that :

in delphi 7.0

[code:paojplkw]
uses fmoddync;

var
Engine_1:TFmod;
Engine_2:TFmod;
Dzwiek:TSound;

begin
Engine_1:=TFmod.Create(’fmod.dll’);
Engine_2:=TFmod.Create(’fmod2.dll’);
Engine_1.FSOUND_Init(44100,6,FSOUND_INIT_GLOBALFOCUS);
Engine_2.FSOUND_Init(44100,6,FSOUND_INIT_GLOBALFOCUS);

Dzwiek:=Engine_1.FSOUND_Stream_Open(’d:/test.mp3′,Flags,0,0);
Engine_2.FSOUND_Stream_Play(0,Dzwiek);

[/code:paojplkw]

  1. when i have use fmod 3.72 this worked.
  2. when i use fmod 3.75 my program play only first frame of sound and nothing more.
  3. when i use FSOUND_Stream_SetTime program play one frame from time i put in this function.
  4. FSOUND_Stream_GetTime return correctly position of this file. So that mean that this file are not playing but is paused.

when i write something like that :
[code:paojplkw]
begin
Engine_1:=TFmod.Create(’fmod.dll’);
Engine_1.FSOUND_Init(44100,6,FSOUND_INIT_GLOBALFOCUS);
Dzwiek:=Engine_1.FSOUND_Stream_Open(’d:/test.mp3′,Flags,0,0);
Engine_1.FSOUND_Stream_Play(0,Dzwiek);

[/code:paojplkw]

everything are good.
but i have four instances I load all files at the start of the program and i don’t know on which instance this files will be played.

fmoddync from http://52.88.2.202/forum/viewtopic.php?t=1845

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.