0
0

Hi, I discovered FMOD yesterday tho i already had heard about it from many friends and acquaintances – And it’s just won-der-ful! The Help File is really good, there are lots of features… Thanks to the whole programmers team! :)

Now a few questions to you, gurus :p

1] About Caps:
1.a] When a driver supports EAX3, does it imply that it supports EAX2 ? (This is important to sort cases)

1.b] When a driver supports EAX2 or/and EAX3, does it imply that it supports 3D sound hardware accelaration ?

2] About FSOUND_MODES:

What kinda effects can we use when the driver supports 2D sound hardware acceleration (ie when we load a sound with FSOUND_HW2D) and how?

3] About FSOUND_Sample_Load:
Actually I’m using FMOD under Delphi 6.0 and it seems that the function prototype is slightly different from the documentation version.

There’s one extra parameter MemLength which is an integer whereas offset and length are unavailable which is quite strange, because delphi supports default parameters afaik.

4] About General Use of FSOUND_Sample_Load and Pools
What’s the use of the “pool”?
Is it some kinda samples dynamic array?
I don’t know how to use it. Actually, I’ve begun working on 3 separate classes for my project (a game :)):
cSound – Main Sound Class
cSample – Inheritates from cSound: used for samples like gun shots
cStream – Inheritates from cSound: used for music

About my cSample class, I’ve declared an array of PFSOUND_SAMPLE i use to store my sounds pointers. Now I have several other questions:
a) Will FMOD automatically free the samples memory (the memory areas to which the pointers point to)?
b) What’s the point of the pool parameter un FSOUND_Sample_Load ? – cos i think i got the meaning of the pool for FSOUND_PlaySound function: Audio Channels (the thingie u define when u initiate FMOD AFAIR 😉 )

  • You must to post comments
0
0

[quote="LKT":18nxen61]3] About FSOUND_Sample_Load:
Actually I’m using FMOD under Delphi 6.0 and it seems that the function prototype is slightly different from the documentation version.
There’s one extra parameter MemLength which is an integer whereas offset and length are unavailable which is quite strange, because delphi supports default parameters afaik.[/quote:18nxen61]The .pas, .h and documentation for FMOD 3.71 all agree on the parameters for FSOUND_Sample_Load, ie. last two parameters are offset and length. I do not know where you are getting MemLength from. Make sure that you have FMOD 3.71 and no other versions of FMOD on your system.

Sly

  • You must to post comments
0
0

Thx everybody for your help :)
Just a last lil point:

[quote="Sly":2yn2x4zn][quote="LKT":2yn2x4zn]3] About FSOUND_Sample_Load:
Actually I’m using FMOD under Delphi 6.0 and it seems that the function prototype is slightly different from the documentation version.
There’s one extra parameter MemLength which is an integer whereas offset and length are unavailable which is quite strange, because delphi supports default parameters afaik.[/quote:2yn2x4zn]The .pas, .h and documentation for FMOD 3.71 all agree on the parameters for FSOUND_Sample_Load, ie. last two parameters are offset and length. I do not know where you are getting MemLength from. Make sure that you have FMOD 3.71 and no other versions of FMOD on your system.

Sly[/quote:2yn2x4zn]

Actually, I searched every .pas file and indeed, the right definition is in fmoddyn.pas and not fmod.pas. What is the difference between these two ones (I think i got one’s dynamic whereas the other isn’t, but what’s “dynamic” meaning in such case?)

Gracias

  • You must to post comments
0
0

indeed that is – I had another version of FMOD previously installed on my system, and due to an error in lib includes, it used the previous version.

Anyway, still a question remains, what’s the difference between FMOD.pas and FMODdyn.pas ?

Should I care about it?

  • You must to post comments
0
0

With fmoddyn.pas, you can dynamicly load an instance of Fmod though you can do multichannel output (instance1 ==> souncard 1 — instance2 ==> soundcard 2 and so on …).

  • You must to post comments
0
0

For most people it will not matter whether they use fmod.pas or fmoddyn.pas. The dynamic version merely loads the FMOD DLL when you tell it to (dynamic linking), not at application start (static linking).

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.