0
0

Hi All
I am trying to create a delphi module for FModEx.
I have had success integrating the sounds and channels but am having problems using DSP functions.
If I use the GetNumberPlugins functions I get the following results
0 DSP Plugins
0 Codec Plugins
9 Output Plugins

Every DSP relate function returns a FMOD_ERR_PLUGIN_RESOURCE result.

Any assistance would be appreciated.

  • You must to post comments
0
0

are you using fmodex.dll?

Manual:
Installation
Use api/fmodex.dll to use FMOD Ex with all plugins statically compiled into the DLL. This means you can use all the features of FMOD without needing extra plugins accompanying your application. The DLL is bigger because of this.

Use api/fmodexp.dll to use FMOD Ex with plugins external. This DLL needs plugins to function, which you can find in the plugins directory. Plugins in the plugins/ directory need to be used to support all of FMOD Ex’s features. Use this if you want a smaller distribution and only need one file format support for example (ie .WAV). The DLL is smaller because of this.

  • You must to post comments
0
0

I have tried all 3 dlls without success. Tried copying the dlls into my current project directory again without success.

My FModex.dll is 394,240 bytes is size.

I am dynamically loading the dll as follows :-

aStr := ‘FModEx.dll’;
if FileExists (aStr) then // local version
FLibPath := aStr
else
begin
with TRegistry.Create do // find installed directory
begin
RootKey := HKEY_LOCAL_MACHINE;
if OpenKey (‘Software\FMOD Programmers API Win32’, false) then
if ValueExists (‘Install_Dir’) then
FLibPath := ReadString (‘Install_Dir’);
Free;
end;
if length (FLibPath) > 0 then
FLibPath := FLibPath + ‘\api\’ + aStr;
end;
if (length (FLibPath) > 0) and FileExists (FLibPath) then
begin
FLibHandle := LoadLibrary (PChar (FLibPath));
if FLibHandle > 32 then
begin
DebugStr (‘Loading Library "’ + FLibPath + ‘"…’);
// System initialisation / destruction functions.
@FSystemCreate := MapProc (‘FMOD_System_Create’);
@FSystemRelease := MapProc (‘FMOD_System_Release’);

  etc ......
  • You must to post comments
0
0

Solved – Delphi and C enumeration types are different sizes.

Have a few more plugins available now.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.