Class MicrophoneDataEventArgs
Microphone Data Event arguments.
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 number of bytes recorded.
Declaration
public int BytesRecorded { get; }
Property Value
Type | Description |
---|---|
int |