I get something reason unknown error.
from System::CreateChannelGroup function in C#
private void FmodERRCheck(Fmod.RESULT result){
if (result != RESULT.OK)
{
MessageBox.Show(Fmod.Error.String(result));
}
}
private void InitFmodSystems()
{
Fmod.Factory.System_Create(out system);
system = new Fmod.System(IntPtr.Zero);
system.init(3, INITFLAGS.NORMAL, IntPtr.Zero);
channelGroup = new ChannelGroup(IntPtr.Zero);
FmodERRCheck(system.createChannelGroup("", out channelGroup));
}
the variables declared top on class.
I was written InitFmodSystems() method to initailize fmod system.
FmodERRCheck(system.createChannelGroup("", out channelGroup));
this line return to me 'ERR_INVALID_PARAM' error.
what is wrong?