multithreaded multidevice app problems
Bruce Clay <[email protected]> Thu, 26 Apr 2012 22:19:26 -0400 (EDT)
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <22917968.812.1335493164180.JavaMail.bclay@Mariah> |
I apologize to those that subscribe to the forum on Nabble for the double post here. There seems to be more traffic here and I have not had any replies on Nabble I am trying to update a application that I wrote a few years ago that used OpenAL. The original app provided a DIS network radio capability for a single user. I am trying to support up to 4 users on 4 USB headsets. The application is multi-threaded with each USB headset operating in a different thread. Each thread creates its own instance of OpenAL so it has it's own device and context. If I turn on a single channel everything works ok. If I turn on a second channel the first channel stops working and the second one starts working. When I turn off the seconed channel the first one does not start working until I turn it off then back on. In searching the web I found messages that said a process can only have one context. Does that apply to the whole process or should a thread act ing with it's own instance of OpenAL and it's own headset work? One of the goals is to receive a single message from the network and have all 4 users hear the message at the same time. Bruce _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal