0
0

Nothing fails to init, but when I select OUTPUT_DSOUND, I cant get the spectrum to work. Spectrum works fine with using WIMM though. If I disable FSOUND_ENALBEFX, then the spectrum will work with DSOUND, but (as I understand it) I wont be able to use the FX APIs.

Why?

[code:y90el7uo]
// Set memory system
FSOUND_SetBufferSize(1000);
FSOUND_Stream_SetBufferSize(1000);
if (!FSOUND_SetMemorySystem(malloc(410241024), 410241024, NULL, NULL, NULL))
return FALSE;

// Init FMod & Load Sample from WAV
if(!FSOUND_Init(44100, 32, FSOUND_INIT_ENABLEOUTPUTFX))
return FALSE;
GameEngine::GetEngine()->GetGameInfo()->stream = FSOUND_Stream_Open(tempWavStorage, FSOUND_ENABLEFX | FSOUND_16BITS | FSOUND_SIGNED | FSOUND_STEREO | FSOUND_2D | FSOUND_MPEGACCURATE, 0, 0);
if(!GameEngine::GetEngine()->GetGameInfo()->stream)
return FALSE;
[/code:y90el7uo]

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.