Class AudioFrame
Audio frame.
Inherited Members
Namespace: VisioForge.Core.Types
Assembly: VisioForge.Core.dll
Syntax
public class AudioFrame
Constructors
AudioFrame()
Initializes a new instance of the AudioFrame class.
Declaration
public AudioFrame()
Properties
Caps
Gets or sets the caps.
Declaration
public string Caps { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Data
Gets or sets the data.
Declaration
public nint Data { get; set; }
Property Value
| Type | Description |
|---|---|
| nint |
DataSize
Gets or sets the data size.
Declaration
public int DataSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Duration
Gets or sets the duration.
Declaration
public TimeSpan Duration { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Info
Gets or sets the information.
Declaration
public RAWBaseAudioInfo Info { get; set; }
Property Value
| Type | Description |
|---|---|
| RAWBaseAudioInfo |
Timestamp
Gets or sets the timestamp.
Declaration
public TimeSpan Timestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Methods
ClearData()
Clears frame data.
Declaration
public void ClearData()
GetDataArray()
Gets the data array.
Declaration
public byte[] GetDataArray()
Returns
| Type | Description |
|---|---|
| byte[] | System.Byte[]. |
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance. |