0
0

I wrote and compile this code :

[code:1nw6xb0y]
FMOD_SYSTEM *system
FMOD_RESULT result;
result = FMOD_System_Create(&system);
ERRCHECK(result);
result = FMOD_System_SetOutput(system, FMOD_OUTPUTTYPE_ESD);
ERRCHECK(result);
result = FMOD_System_Init(system, 32, FMOD_INIT_NORMAL, NULL);
ERRCHECK(result);

FMOD_SOUND *sound;
FMOD_CREATESOUNDEXINFO *info;

result = FMOD_System_CreateStream(system, TRACKS_BASS_FILENAME, FMOD_DEFAULT, info, &sound );
ERRCHECK(result);
[/code:1nw6xb0y]

program crashes with
[code:1nw6xb0y]
FMOD error! (37) An invalid parameter was passed to this function.
[/code:1nw6xb0y]

my code is similar with some examples, I’m lost…

  • You must to post comments
0
0

oups… it’s was a pointer error

:roll:

I’ve simplify code to post here, and this code works perfectly and I’ve found my mistake.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.