0
0

I get the following error:
[quote:1d5ihmci]FMOD error! (17) DSP error. Cannot perform this operation while the network is in the middle of running. This will most likely happen if a connection or disconnection is attempted in a DSP callback.[/quote:1d5ihmci] What should I be looking for as the cause of this error? It seems to happen when a couple of sounds are starting to play at about the same time.

  • You must to post comments
0
0

[quote="brett":2h8ogkw3]you’re not trying to issue commands from multiple different threads are you? You didnt say what function it is returned from, was it System::playSound?[/quote:2h8ogkw3] It seems to come from playSound, and it comes from the same thread, but in a short period of time.

  • You must to post comments
0
0

I don’t use any callbacks, and all calls come from one thread.

I get the error when calling playSound() with FMOD_CHANNEL_FREE. The error pops a bit randomly, but all the times when there are several sounds being played (several explosions, short sound effects (about 1-2 seconds)). It looks like a light load on playSound() has no problems, but during heavier load it spits out error 17.

Here are some init calls.

_Data->system->setSpeakerMode( FMOD_SPEAKERMODE_STEREO );
_Data->result = _Data->system->setSoftwareChannels( 100 );
_Data->result = _Data->system->init( 200, FMOD_INIT_NORMAL | FMOD_INIT_3D_RIGHTHANDED, 0 );

  • You must to post comments
0
0

I’m using latest version I think, the one from download page, 4.03.07, "Linux".

I’ll make a simple test with many consecutive calls of playSound(), and see if that will give the same error.

  • You must to post comments
0
0

I have found the possible reason for my problem. It is me. 😥 😀

I did not call System::update() every frame. In fact I did not call it at all.

Now that I do call it every frame, I’ve yet to get error 17.

Thank you for your time.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.