I was working for software that needed multiple keyboards support along with multiple microphones support.
Multiple keyboards Support:
Detecting multiple keyboards/devices:
GetRawInputDeviceList( IntPtr.Zero, ref deviceCount, (uint)dwSize ) returns the number of devices detected
You can get a project that detects multiple keyboards and stores the devices in a HashTable at: http://www.codeproject.com/KB/system/rawinput.aspx#_Toc156395978
Multiple Microphones
Also, I had to provide support for multiple microphones. You can use the following function to collect speech from a microphone. The first parameter can be 0, 1, 2 for multiple microphones [device identification number]. If you put -1, it will take the default microphone.
m_Recorder = new WaveLib.WaveInRecorder(-1, fmt, 16384, 3, new WaveLib.BufferDoneEventHandler(DataArrived));
Just check the following article for detail understanding:http://www.codeproject.com/KB/audio-video/cswavrec.aspx
From: http://sitestree.com/?p=5159
Categories:18
Tags:
Post Data:2010-01-17 03:14:30
Shop Online: <a href='https://www.ShopForSoul.com/' target='new' rel="noopener">https://www.ShopForSoul.com/</a>
(Big Data, Cloud, Security, Machine Learning): Courses: <a href='http://Training.SitesTree.com' target='new' rel="noopener"> http://Training.SitesTree.com</a>
In Bengali: <a href='http://Bangla.SaLearningSchool.com' target='new' rel="noopener">http://Bangla.SaLearningSchool.com</a>
<a href='http://SitesTree.com' target='new' rel="noopener">http://SitesTree.com</a>
8112223 Canada Inc./JustEtc: <a href='http://JustEtc.net' target='new' rel="noopener">http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a>
Shop Online: <a href='https://www.ShopForSoul.com'> https://www.ShopForSoul.com/</a>
Medium: <a href='https://medium.com/@SayedAhmedCanada' target='new' rel="noopener"> https://medium.com/@SayedAhmedCanada </a>