Microphone Members

The following tables list the members exposed by the Microphone type.

Public FieldNameReturns the friendly name of the microphone.

Public Property StaticAllReturns the collection of all currently-available microphones.
Public PropertyBufferDurationGets or sets audio capture buffer duration of the microphone.
Public Property StaticDefaultReturns the default attached microphone.
Public PropertyIsHeadsetDetermines if the microphone is a wired headset or a Bluetooth device.
Public PropertySampleRate Returns the sample rate at which the microphone is capturing audio data.
Public PropertyStateReturns the recording state of the Microphone object.

Public MethodEquals(Inherited from Object.)
Public MethodGetDataOverloaded. Gets the latest recorded data from the microphone.
Public MethodGetHashCode(Inherited from Object.)
Public MethodGetSampleDurationReturns the duration of audio playback based on the size of the buffer.
Public MethodGetSampleSizeInBytes Returns the size of the byte array required to hold the specified duration of audio for this microphone object.
Public MethodGetType(Inherited from Object.)
Public MethodStartStarts microphone audio capture.
Public MethodStopStops microphone audio capture.
Public MethodToString(Inherited from Object.)

Protected MethodFinalize(Inherited from Object.)
Protected MethodMemberwiseClone(Inherited from Object.)

Public EventBufferReadyEvent that occurs when the audio capture buffer is ready to processed.

Community Additions