0
0

Hi,

I’m trying to manage 2 sound cards witin the same executable file and I can not succeed in creating 2 eventSystem for this:
1) the first creation is OK:
FMOD::EventSystem_Create(&mEventSystem1) ;
then
mEventSystem1->init(64, FMOD_INIT_NORMAL, 0, FMOD_EVENT_INIT_NORMAL) ;
EventSystem()->getSystemObject(&mSystem) ;
mSystem>setDriver(0) ;
are OK

2) but when calling FMOD::EventSystem_Create(&mEventSystem2) ;
I get an error -> Cannot call this command after System::init.


  • I have 2 sound cards on my PC (integrated + PCI)

– I do not set the mode for the system object

Any idea ?

Thanks.

  • You must to post comments
0
0

Have you tried

eventsystemcreate(sys1);
eventsystemcreate(sys2);
eventsysteminit(sys1)…etc

  • You must to post comments
0
0

Good idea …

[quote:1jahosc5]Have you tried

eventsystemcreate(sys1);
eventsystemcreate(sys2);
eventsysteminit(sys1)…etc[/quote:1jahosc5]

… but: I’ve just changed my code and test this this solution: it is still the same problem.

I’m going to try with 2 separated exe (more work for this …)

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.