0
0

Hello! I had found another post which may be the cause of this, however I’m not certain because when I’m not speaking with someone on Skype FMODex works fine.

I can run my program and hear sound through FMODex just fine unless I’m in a call with someone over Skype…

Ubuntu 9.10 64bit, Basically a default installation with (I believe) PulseAudio and ALSA installed.

[code:25glne8m]~/fmodapi43001linux64/examples/effects$ ./effects
FMOD error! (62) Error initializing output device. [/code:25glne8m]

Thanks! :)

  • You must to post comments
0
0

Apologies, didn’t search well enough. Seems the problem was indeed pulse.

I’ve put in a fallback to ALSA:

[code:3m50escb]FMOD_RESULT errResult = mSystem->init(nMaxChannels, nInitFlags, 0);
if(errResult != FMOD_OK)
{
errResult = mSystem->setOutput(FMOD_OUTPUTTYPE_ALSA);
if(errResult != FMOD_OK)
{
return false;
}
}

errResult = mSystem->init(nMaxChannels, nInitFlags, 0);[/code:3m50escb]

  • You must to post comments
0
0

Looks good, but you probably want the second mSystem->init inside that if statement.

  • You must to post comments
0
0

Ran into a couple of errors, here’s the final product:

[code:xe70abws]
errResult = mSystem->init(nMaxChannels, nInitFlags, 0);

ifndef _WIN32

    if(errResult != FMOD_OK)
    {
        errResult = mSystem->setOutput(FMOD_OUTPUTTYPE_ALSA);
        if(errResult != FMOD_OK)
        {
            //FAIL!
        }

        errResult = mSystem->init(nMaxChannels, nInitFlags, 0);
        if(errResult != FMOD_OK)
        {
            //FAIL!
        }
    }

endif[/code:xe70abws]

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.