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.
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 );
[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.
Please login first to submit.