Click or drag to resize
Microphone Class
Class for capturing audio data with microphone.
Inheritance Hierarchy
SystemObject
  Ozeki.CommonDisposableClass
    Ozeki.MediaAbstractMediaSenderAudioData, AudioFormat
      Ozeki.MediaAudioSender
        Ozeki.MediaMicrophone

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public class Microphone : AudioSender, IAudioControl, 
	IMedia, IMicrophone, IAudioSender, IMediaSender<AudioData, AudioFormat>, 
	IDisposable

The Microphone type exposes the following members.

Constructors
  NameDescription
Protected methodMicrophone
Initializes a new instance of the Microphone class.
Top
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
Disposes the object.
(Inherited from DisposableClass.)
Protected methodDispose(Boolean)
Disposes the object.
(Overrides DisposableClassDispose(Boolean).)
Public methodStatic memberDisposeDevices
Disposes the previously created and not disposed devices.
Protected methodFinalize
(Inherited from DisposableClass.)
Public methodGetAudioFormat (Overrides AudioSenderGetAudioFormat.)
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
This will be called when this object has been connected to an audio receiver.
(Inherited from AudioSender.)
Protected methodReceiverDisconnected
This will be called when this object has been disconnected from an audio receiver.
(Inherited from AudioSender.)
Protected methodSendMediaData (Inherited from AbstractMediaSenderTData, TFormat.)
Public methodSetPreferredSendFormats (Inherited from AbstractMediaSenderTData, TFormat.)
Public methodStart
Starts microphone audio capture.
Public methodStop
Stops microphone audio capture.
Top
Properties
  NameDescription
Public propertyDeviceGUID
Gets the GUID of the device which is unique on the Operating System.
Public propertyDeviceInfo
Gets the product information of the microphone device.
Public propertyID (Inherited from DisposableClass.)
Public propertyInitialized
Returns a boolean value indicating whether the selected microphone device is ready for capturing.
Public propertyLevel
Gets the level of the microphone input. (Range: 0-100)
Public propertyMediaFormat
Gets the current audio format of the microphone.
Public propertyMuted
Gets or sets a boolean value indicating whether the microphone is muted.
Public propertyState
Gets the state of the microphone.
Public propertyVolume
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.
Top
Events
  NameDescription
Public eventLevelChanged
Occurs when the microphone level has changed.
Public eventMediaDataSent (Inherited from AbstractMediaSenderTData, TFormat.)
Public eventOnUnplugged
Fires when the microphone device is unplugged. It also indicates that this Microphone object has been disposed.
Public eventStopped
Occurs when the microphone stopped capturing.
Top
See Also