0
0

i am getting an FMOD_ERR_INVALID_PARAM on the first call to Event::start() when i set the event mode to 3d in designer. i’m not sure what happened, but 3d mode was working for me previously. my first guess was that it was because i was not setting the 3d attribs before i tried to start playback, but this does not seem to have any affect. i am using normal/default flags when init’ing my event system and event.

the event plays fine in 2d mode.

  • You must to post comments
0
0

well, 3d works if i force software mixing. obviously i don’t want to do this for all mf my 3d sounds though.

  • You must to post comments
0
0

There are a few references to this error in revision.txt, are you using the latest version?

  • You must to post comments
0
0

ok, so with the latest version, 3d now works in hardware, but logarithmic rolloff doesn’t seem to be working. i am not getting any attenuation at all. i do get attenuation with linear rolloff though.

  • You must to post comments
0
0

assuming you’re using win32, i just tried the example project that comes with fmod designer, and put it back to normal force software = false, and it worked ok here in log mode.

  • You must to post comments
0
0

interesting. well, thanks for looking into it. i’ll let you know if i figure out what’s going on.

  • You must to post comments
0
0

[quote="dave7L":3fkoyjos]ok, so with the latest version, 3d now works in hardware, but logarithmic rolloff doesn’t seem to be working. i am not getting any attenuation at all. i do get attenuation with linear rolloff though.[/quote:3fkoyjos]

Running FMOD Ex 4.04.47

I am having the same problem (Win32). [i:3fkoyjos]Logarithmic[/i:3fkoyjos] is not working at all but linear is.

When my scene first starts, all my scene objects (and sounds) are at position 0,0,0. For about a second I can hear all the sounds. As the scene manager moves the scene objects to their proper positions, the sounds can no longer be heard. Even if I walk/fly up to an object that is playing a 3D sound I [i:3fkoyjos]hear[/i:3fkoyjos] nothing. All the Event parameters say the event is running and in the proper position. I also checked the listener position and it’s correct too.

Here is my init code

[code:3fkoyjos]
void clsAudioManager::initializeAudio(void)
{
unsigned int mVersion = 0;
FMOD_RESULT mResult;

// Initial the FMOD System.
mResult = FMOD::EventSystem_Create( &mFMODEventSystem );
mResult = mFMODEventSystem->getSystemObject( &mFMODSystem );

// Check DLL Version
mResult = mFMODSystem->getVersion( &mVersion );
if ( mVersion < FMOD_VERSION )
{
    mFMODEventSystem->release();
    mFMODEventSystem = NULL;
    mFMODSystem = NULL;
    Ogre::LogManager::getSingleton().logMessage( "--> clsAudioManager::initializeAudio: INCORRECT FMOD DLL VERSION.", Ogre::LML_CRITICAL );
    return;
}

mResult = mFMODEventSystem->init( 256, FMOD_INIT_NORMAL, 0, EVENT_INIT_NORMAL );
mResult = mFMODEventSystem->setMediaPath( "Media/Audio" );
mResult = mFMODEventSystem->load( "origins.fev", 0, &mFMODEventProject );

if ( mResult != FMOD_OK )
{
    mFMODEventSystem->release();
    mFMODEventSystem = NULL;
    mFMODSystem = NULL;
    Ogre::LogManager::getSingleton().logMessage( "--> clsAudioManager::initializeAudio: Unable to load ORIGINS.FEV.", Ogre::LML_CRITICAL );
    return;
}

loadEvents();

} // initializeAudio

[/code:3fkoyjos]

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.