Microphone Members
The following tables list the members exposed by the Microphone type.
Public Fields
Name | Description | |
---|---|---|
![]() |
Name | Returns the friendly name of the microphone. |
Public Properties
Name | Description | |
---|---|---|
![]() ![]() |
All | Returns the collection of all currently-available microphones. |
![]() |
BufferDuration | Gets or sets audio capture buffer duration of the microphone. |
![]() ![]() |
Default | Returns the default attached microphone. |
![]() |
IsHeadset | Determines if the microphone is a wired headset or a Bluetooth device. |
![]() |
SampleRate | Returns the sample rate at which the microphone is capturing audio data. |
![]() |
State | Returns the recording state of the Microphone object. |
Public Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetData | Overloaded. Gets the latest recorded data from the microphone. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetSampleDuration | Returns the duration of audio playback based on the size of the buffer. |
![]() |
GetSampleSizeInBytes | Returns the size of the byte array required to hold the specified duration of audio for this microphone object. |
![]() |
GetType | (Inherited from Object.) |
![]() |
Start | Starts microphone audio capture. |
![]() |
Stop | Stops microphone audio capture. |
![]() |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
Public Events
Name | Description | |
---|---|---|
![]() |
BufferReady | Event that occurs when the audio capture buffer is ready to processed. |