Struct AudioFrame
Namespace: Adrenak.UniVoice
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public struct AudioFrame
Fields
channelCount
The number of channels in the audio
Declaration
public int channelCount
Field Value
| Type | Description |
|---|---|
| System.Int32 |
frequency
The frequency (or sampling rate) of the audio
Declaration
public int frequency
Field Value
| Type | Description |
|---|---|
| System.Int32 |
samples
A byte array representing the audio data
Declaration
public byte[] samples
Field Value
| Type | Description |
|---|---|
| System.Byte[] |
timestamp
The UTC Unix timestamp (in ms) when the samples were captured. The timestamp is local to the client the audio was captured from.
Declaration
public long timestamp
Field Value
| Type | Description |
|---|---|
| System.Int64 |