Class MicrophoneDataEventArgs
Microphone Data Event args.
Inherited Members
Namespace: Evergine.Common.Media
Assembly: Evergine.Common.dll
Syntax
public class MicrophoneDataEventArgs : EventArgs
Constructors
MicrophoneDataEventArgs(byte[], int)
Initializes a new instance of the MicrophoneDataEventArgs class.
Declaration
public MicrophoneDataEventArgs(byte[] buffer, int bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | buffer | buffer data. |
| int | bytes | bytes recorded. |
Properties
Buffer
Gets the audio byte buffer.
Declaration
public byte[] Buffer { get; }
Property Value
| Type | Description |
|---|---|
| byte[] |
BytesRecorded
Gets the amount of bytes recorded.
Declaration
public int BytesRecorded { get; }
Property Value
| Type | Description |
|---|---|
| int |