Hej all!
I build a 3d-sound programm (win Form) with NAudio, that is triggered via an input on the serial port. Great software!
I got All the mixing: 2 to 6 channel done and played by the ASIO driver. But when I have an active serial connection I get the COMexception as soon as the playback is requested:
Unable to instantiate ASIO. Check if STAThread is set.
I searched the net about threading and found some pieces, but am not able to put it all together. Does anybody know how to put the audio output in a proper thread or how to solve this otherwise?