Microphone Members

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

NameDescription
Public FieldNameReturns the friendly name of the microphone.

NameDescription
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.

NameDescription
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.)

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

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

Community Additions

ADD
Show: