Audio device information.
This class holds information about a particular audio device, such as a microphone, audio card port or anything else which could be detected by DirectSound. Objects from this class are typically obtained through a AudioDeviceCollection collection.
Esempio n. 1
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="AudioCaptureDevice"/> class.
 /// </summary>
 ///
 public AudioCaptureDevice(AudioDeviceInfo device)
 {
     this.device     = device.Guid;
     this.sourceName = device.Description;
 }
Esempio n. 2
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="AudioCaptureDevice"/> class.
 /// </summary>
 /// 
 public AudioCaptureDevice(AudioDeviceInfo device)
 {
     this.device = device.Guid;
     this.sourceName = device.Description;
 }