0
0

Hello,

I want to use fmodexp.dll because my program only need to play MIDI files.

When I starting my program I have this error:
"A requested output, dsp unit type or codec was not available."

I think I have to use codec_midi.dll but I don’t know how to do.

[code:1vg1d5gp]
FMOD_RESULT result;
FMOD_SYSTEM *system;

result = FMOD_System_Create(&system);
if (result != FMOD_OK)
{
    QMessageBox::warning(0, QObject::tr("Musmeca"),
                                QObject::tr("Création de l'objet système principal\n\n%1")
                                .arg(FMOD_ErrorString(result)));
}

result = FMOD_System_Init(system, 100, FMOD_INIT_NORMAL, 0);
if (result != FMOD_OK)
{
    QMessageBox::warning(0, QObject::tr("Musmeca"),
                                QObject::tr("Initialisation de FMOD Ex\n\n%1")
                                .arg(FMOD_ErrorString(result)));
}

[/code:1vg1d5gp]

Thank you

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.