When working with the Expression 4.0 sdk to capture audio from a microphone I was wondering if someone out there can answer a question around
EncoderDevices.FindDevices() and EncoderDevices.CheckForDeviceChanges().
Here is what I am seeing:
When I make a call to FindDevices(EncoderDeviceType.Audio) it only ever returns a single audio device with a
Category property of 'Capture' aka a microphone. This occurs even when I have multiple microphones, in this case an internal mic and and external mic.
I did a test calling CheckForDeviceChanges and it show that when I plug in an external mic it adds that mic but removes the internal mic and conversely if I unplug the external mic it removes that mic and re-adds the internal mic.
Q: Is this the expected behavior?
Q: Is there a way to have both mics show in a call to FindDevices() so I can give my user the option of selecting between the two?
-John
Environment:
Windows 7 Enterprise(32bit)
.NET 4.5
Expression Encoder 4.0 sp2 sdk