Microphone Class |
The Microphone type exposes the following members.
| Name | Description | |
|---|---|---|
| Microphone | Initializes a new instance of the Microphone class. |
| Name | Description | |
|---|---|---|
| DeviceGUID | Gets the GUID of the device which is unique on the Operating System. | |
| DeviceInfo | Gets the product information of the microphone device. | |
| ID | (Inherited from DisposableClass) | |
| Initialized | Returns a boolean value indicating whether the selected microphone device is ready for capturing. | |
| Level | Gets the level of the microphone input. (Range: 0-100) | |
| MediaFormat | Gets the current audio format of the microphone. | |
| Muted | Gets or sets a boolean value indicating whether the microphone is muted. | |
| State | Gets the state of the microphone. | |
| Volume | Gets or sets the volume of the microphone. (Range: 0-1) If the value is -1, the volume of the selected device is fixed and cannot be changed. |
| Name | Description | |
|---|---|---|
| ChangeFormat | Changes the recording format of the device. Please note that this method is not working under linux system due to device driver compatibility issues. | |
| Dispose | (Inherited from DisposableClass) | |
| Dispose(Boolean) |
Disposes the object.
(Overrides DisposableClass.Dispose(Boolean)) | |
| DisposeDevices | Disposes the previously created and not disposed devices. | |
| Finalize | (Inherited from DisposableClass) | |
| GetAudioFormat | (Overrides AudioSender.GetAudioFormat) | |
| GetDefaultDevice | Retreives the default microphone device | |
| GetDevice | Retreives the specified microphone device. | |
| GetDevices | Retrieves the available capturing devices. | |
| GetDevicesCount | Retreives the number of available capturing devices. | |
| ReceiverConnected | (Inherited from AudioSender) | |
| ReceiverDisconnected | (Inherited from AudioSender) | |
| SendMediaData | (Inherited from AbstractMediaSenderAudioData, AudioFormat) | |
| SetPreferredSendFormats | (Inherited from AbstractMediaSenderAudioData, AudioFormat) | |
| Start | Starts microphone audio capture. | |
| Stop | Stops microphone audio capture. |
| Name | Description | |
|---|---|---|
| LevelChanged | Occurs when the microphone level has changed. | |
| MediaDataSent | (Inherited from AbstractMediaSenderAudioData, AudioFormat) | |
| OnUnplugged | Fires when the microphone device is unplugged. It also indicates that this Microphone object has been disposed. | |
| Stopped | Occurs when the microphone stopped capturing. |