0
0

Upon running fmod init on windows, fmod locks up. But no CPU usage.
Anyone have any idea why?

Windows XP 32, Media Center Edition
Latest updates from microsoft…

I get this in the log:
[code:12pikrt9]
FMOD: OutputDSound::registerDLL : Detected DIRECTX 9
FMOD: FMOD_Output_DSound_RecordEnumProc : Enumerating "Realtek HD Audio Input"
FMOD: FMOD_Output_DSound_RecordEnumProc : Enumerating "Bluetooth Audio"
FMOD: FMOD_Output_DSound_RecordEnumProc : Enumerating "Bluetooth High Quality Audio"
FMOD: SystemI::init : FMOD Ex Version: 00041205
FMOD: SystemI::init : maxchannels = 4, flags = 00000000, extradriverdata = 00000000
FMOD: SystemI::close :
FMOD: SystemI::close : Remove all user channel groups.
FMOD: SystemI::close : Remove miscllaneous DSP stuff.
FMOD: SystemI::close : done.

FMOD: OutputDSound::init : Register DLL
FMOD: OutputDSound::init : Enumerate Drivers
FMOD: FMOD_Output_DSound_EnumProc : Enumerating "Realtek HD Audio output"
FMOD: FMOD_Output_DSound_EnumProc : Enumerating "Bluetooth Audio"
FMOD: FMOD_Output_DSound_EnumProc : Enumerating "Bluetooth High Quality Audio"
FMOD: OutputDSound::init : CoInitialize
FMOD: OutputDSound::init : DirectSoundCreate8 : mSelectedDriver = 0
[/code:12pikrt9]

My init:
[code:12pikrt9]
result = FMOD_System_Create(&system);
ERRCHECK(result);

result = FMOD_System_GetVersion(system, &version);
ERRCHECK(result);

if (version < FMOD_VERSION)
{
printf("Error! You are using an old version of FMOD %08x. This program requires %08x\n", version, FMOD_VERSION);
return;
}
FMOD_System_SetOutput(system, FMOD_OUTPUTTYPE_AUTODETECT);
result = FMOD_System_GetRecordNumDrivers(system, &numdrivers);
ERRCHECK(result);

  printf(&quot;---------------------------------------------------------\n&quot;);    
  printf(&quot;Choose a RECORD driver\n&quot;);
  printf(&quot;---------------------------------------------------------\n&quot;);    
  for (count=0; count &lt; numdrivers; count++)
  {
      char name[256];

      result = FMOD_System_GetRecordDriverInfo(system, count, name, 256, 0);
      ERRCHECK(result);

      printf(&quot;%d : %s\n&quot;, count + 1, name);
  }

result = FMOD_System_SetRecordDriver(system, 0);
ERRCHECK(result);
printf("fmod load1\n");
result = FMOD_System_Init(system, 32, FMOD_INIT_NORMAL, NULL);
[/code:12pikrt9]

  • You must to post comments
0
0

nevermind, I solved it.

Reason: inited Fmod on startup, bad idea.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.