0
0

Hi,
I am using FMODEX 4.32 version and VS 2005 C#.

While doing the example on the ‘./examples_csharp/vs2005/3d’, I’ve experienced crash for unable to find ‘FMOD_Channel_Set3Docclusion’ at DLL after the ‘playSound’ and calling for ‘set3DOcclusion’ function.

Would you know how to solve this problem?

ex)
result = system.playSound(FMOD.CHANNELINDEX.FREE, sound1, true, ref channel1);
ERRCHECK(result);
result = channel1.set3DAttributes(ref pos1, ref vel1);
ERRCHECK(result);
result = channel1.[color=#FF0000:2ce8g82a]set3DOcclusion[/color:2ce8g82a]( 0.0f, 1.0f); // crash!
ERRCHECK(result);
result = channel1.setPaused(false);
ERRCHECK(result);

  • You must to post comments
0
0

LOL, What are the chances you made a typo for me to see in your source, and there actualy is a typo in the same function in the cs file… The universe is a funny thing; funneling us towards the problem in weird ways.

Your typos was Setoccusion, right? missing the l originaly?

  • You must to post comments
0
0

[quote="mathew":2ve373hk]The typo is in fmod.cs, line 3777, there should be a capital ‘O’, i.e. set3Docclusion becomes set3DOcclusion (same for get3Docclusion).
You can make the change yourself, but it will be fixed for our next release too.[/quote:2ve373hk]

I fixed it as you told me to and it is now working. Thank you. 😀

  • You must to post comments
0
0

The typo is in fmod.cs, line 3777, there should be a capital ‘O’, i.e. set3Docclusion becomes set3DOcclusion (same for get3Docclusion).
You can make the change yourself, but it will be fixed for our next release too.

  • You must to post comments
0
0

[quote="icuurd12b42":ajs4jzhd]Typo maybe?[/quote:ajs4jzhd]

I’m sorry. I’ve fixed the typo. It really crash if I run set3DOcclusion.

  • You must to post comments
0
0

Typo maybe?

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.