Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: asioOut and Serial input

$
0
0

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?


Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>