0
0

I just updated my Xbox 360 to v43 and EventSystem::getSystemObject does not set my System pointer I pass it and returns:

"An invalid speaker was passed to this function based on the current speaker mode."

I am not setting any speaker modes and in fact have not changed my code since my last stable build with my older FMOD version. I looked in the release notes and on the forum but was unable to find a reference to this error.

Any help would greatly appreciated!!!

Thanks.

  • You must to post comments
0
0

Ok, to start with, your error code is wrong because you havent updated your headers and lib together. Dont just update one or the other, always update them together. The error is FMOD_ERR_INVALID_PARAM not FMOD_ERR_INVALID_SPEAKER.

For the actual error, it has to be because you passed null to the function.
This is the code for the function.

[code:3pi35xhn]
FMOD_RESULT EventSystemI::getSystemObject(System **system)
{
if (!system)
{
return FMOD_ERR_INVALID_PARAM;
}

*system = m_system;

return FMOD_OK;

}
[/code:3pi35xhn]

There’s not much that can go wrong there.

  • You must to post comments
0
0

I’m not sure how that went wrong. I remember copying the libs and includes over. I tried again and it worked.

Now FMOD is crashing on EventSystem::set3DListenerAttributes. I am passing 0, a valid FMOD_VECTOR, NULL, NULL, NULL. It crashes somewhere in the FMOD portion of the stack (i.e. after my code). The values I am passing are not new. Does set3DListenerAttributes no longer check for NULL pointers?

Thanks.

  • You must to post comments
0
0

[quote="droberts":1ex1k9ij]I’m not sure how that went wrong. I remember copying the libs and includes over. I tried again and it worked.

Now FMOD is crashing on EventSystem::set3DListenerAttributes. I am passing 0, a valid FMOD_VECTOR, NULL, NULL, NULL. It crashes somewhere in the FMOD portion of the stack (i.e. after my code). The values I am passing are not new. Does set3DListenerAttributes no longer check for NULL pointers?

Thanks.[/quote:1ex1k9ij]

It looks like that’s the problem. Is that correct?

Thanks.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.