Answered
0
0

when i use fmod::studio system->initialize(256, FMOD_STUDIO_INIT_NORMAL, FMOD_INIT_NORMAL, 0) i got an error 28 it say : An error occurred that wasn’t supposed to. Contact support. how can i to solve this problem, help

[LOG] System::create                           : Header version = 1.5.14.  Current version = 1.5.14.
[LOG] SystemI::init                            : FMOD Studio Version: 00010514 (62598)
[LOG] SystemI::init                            : maxchannels = 128, flags = 00000000, extradriverdata = 00000000
[LOG] SystemI::close                           : 
[LOG] SystemI::close                           : Stop all sounds
[LOG] SystemI::close                           : Remove miscllaneous DSP stuff.
[LOG] SystemI::close                           : done.

[LOG] SystemI::init                            : Set up software engine
[LOG] OutputDSound::registerDLL                : Register DLL
[LOG] OutputDSound::registerDLL                : Detected DIRECTX 9
[LOG] OutputDSound::init                       : Enumerate Drivers
[LOG] FMOD_Output_DSound_EnumProc              : Enumerating "Realtek HD Audio output"
[LOG] OutputDSound::init                       : DirectSoundCreate8 : mSelectedDriver = 0
[LOG] OutputDSound::init                       : SetCooperativeLevel
[LOG] OutputDSound::init                       : GetCaps
[LOG] OutputDSound::init                       : Create Primary Buffer
[LOG] OutputDSound::init                       : Set Primary Buffer Format
[LOG] OutputDSound::init                       : Done
[ERR] assert                                   : assertion: '(speakermode > FMOD_SPEAKERMODE_DEFAULT) && (speakermode < FMOD_SPEAKERMODE_MAX)' failed
[LOG] Global::decRef                           : Shut down streamer and FMOD_NONBLOCKING and FileSystem thread.
[LOG] Global::decRef                           : Shut down file system.
[LOG] SystemI::close                           : 
[LOG] SystemI::close                           : Stop all sounds
[LOG] SystemI::close                           : Shut down output.
[LOG] OutputDSound::close                      : 
[LOG] OutputDSound::close                      : FreeLibrary on dsound.dll
[LOG] OutputDSound::close                      : Free driver list
[LOG] OutputDSound::close                      : done
[LOG] SystemI::close                           : Free software output.
[LOG] SystemI::close                           : Remove miscllaneous DSP stuff.
[LOG] SystemI::close                           : done.

[LOG] OutputDSound::close                      : 
[LOG] OutputDSound::close                      : FreeLibrary on dsound.dll
[LOG] OutputDSound::close                      : Free driver list
[LOG] OutputDSound::close                      : done
  • Mathew Block
    Could you include the output of the logging version of FMOD in your question please?
  • xq
    • xq
    • 1 year ago
    i have include the output of the logging version, but i can't find log file, where to find the log file?
  • xq
    • xq
    • 1 year ago
    there is no editor in this machine that has problem, so i can't see the logging. could it create a log file for me to see?
  • Mathew Block
    The provided log information is what I was looking for. Are you on Windows XP? If so could you try calling System::setSoftwareFormat(48000, FMOD_SPEAKERMODE_STEREO, 0) before System::init. If not could you try removing the call to System::setOutput. Please post your update output if it fails with my suggested changes.
  • xq
    • xq
    • 1 year ago
    yes, i am on windows xq, thank you, by calling System::setSoftwareFormat,i have solve the problem,thank you!
Best Answer
0
0

the problem has been solved.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.