Click or drag to resize

Microphone Methods

The Microphone type exposes the following members.

Methods
  NameDescription
Public methodChangeFormat
Changes the recording format of the device. Please note that this method is not working under linux system due to device driver compatibility issues.
Public methodDispose (Inherited from DisposableClass.)
Protected methodDispose(Boolean)
Disposes the object.
(Overrides DisposableClass.Dispose(Boolean).)
Public methodStatic memberDisposeDevices
Disposes the previously created and not disposed devices.
Protected methodFinalize (Inherited from DisposableClass.)
Public methodGetAudioFormat (Overrides AudioSender.GetAudioFormat.)
Public methodStatic memberGetDefaultDevice
Retreives the default microphone device
Public methodStatic memberGetDevice
Retreives the specified microphone device.
Public methodStatic memberGetDevices
Retrieves the available capturing devices.
Public methodStatic memberGetDevicesCount
Retreives the number of available capturing devices.
Protected methodReceiverConnected (Inherited from AudioSender.)
Protected methodReceiverDisconnected (Inherited from AudioSender.)
Protected methodSendMediaData (Inherited from AbstractMediaSenderAudioData, AudioFormat.)
Public methodSetPreferredSendFormats (Inherited from AbstractMediaSenderAudioData, AudioFormat.)
Public methodStart
Starts microphone audio capture.
Public methodStop
Stops microphone audio capture.
Top
Extension Methods
  NameDescription
Public Extension MethodDisposeManaged
Manages access to the microphone's Dispose function. It disposes the microphone only if all its owners have called DisposeManaged function on it. Use this function paired with StartManaged and StopManaged ones.
(Defined by MediaManaged.)
Public Extension MethodStartManaged
Manages access to the microphone's Start function. Use this function paired with StopManaged and DisposeManaged ones.
(Defined by MediaManaged.)
Public Extension MethodStopManaged
Manages access to the microphone's Stop function. It stops the microphone only if all its owners have called StopManaged function on it. Use this function paired with StartManaged and DisposeManaged ones.
(Defined by MediaManaged.)
Top
See Also