Class AudioFrameBufferEventArgs
Frame bitmap event args class.
Inherited Members
Namespace: VisioForge.Core.Types.Events
Assembly: VisioForge.Core.dll
Syntax
public class AudioFrameBufferEventArgs : EventArgs
Constructors
AudioFrameBufferEventArgs(nint, int, int, int, int, TimeSpan, AudioFormat)
Initializes a new instance of the AudioFrameBufferEventArgs class.
Declaration
public AudioFrameBufferEventArgs(nint data, int dataSize, int sampleRate, int channels, int bps, TimeSpan timestamp, AudioFormat audioFormat)
Parameters
Type | Name | Description |
---|---|---|
nint | data | Audio data. |
int | dataSize | Data size. |
int | sampleRate | Audio sample rate. |
int | channels | Audio channels. |
int | bps | Audio BPS. |
TimeSpan | timestamp | Timestamp. |
AudioFormat | audioFormat | Audio format. |
AudioFrameBufferEventArgs(nint, int, int, int, int, TimeSpan, AudioFormat, ref bool)
Initializes a new instance of the AudioFrameBufferEventArgs class.
Declaration
public AudioFrameBufferEventArgs(nint data, int dataSize, int sampleRate, int channels, int bps, TimeSpan timestamp, AudioFormat audioFormat, ref bool updateData)
Parameters
Type | Name | Description |
---|---|---|
nint | data | Audio data. |
int | dataSize | Data size. |
int | sampleRate | Audio sample rate. |
int | channels | Audio channels. |
int | bps | Audio BPS. |
TimeSpan | timestamp | Timestamp. |
AudioFormat | audioFormat | Audio format. |
bool | updateData | Update data flag. |
AudioFrameBufferEventArgs(AudioFrame)
Initializes a new instance of the AudioFrameBufferEventArgs class.
Declaration
public AudioFrameBufferEventArgs(AudioFrame frame)
Parameters
Type | Name | Description |
---|---|---|
AudioFrame | frame | The frame. |
AudioFrameBufferEventArgs(AudioFrame, ref bool)
Initializes a new instance of the AudioFrameBufferEventArgs class.
Declaration
public AudioFrameBufferEventArgs(AudioFrame frame, ref bool updateData)
Parameters
Type | Name | Description |
---|---|---|
AudioFrame | frame | The frame. |
bool | updateData | Update data flag. |
AudioFrameBufferEventArgs(RAWAudioFrame)
Initializes a new instance of the AudioFrameBufferEventArgs class.
Declaration
public AudioFrameBufferEventArgs(RAWAudioFrame frame)
Parameters
Type | Name | Description |
---|---|---|
RAWAudioFrame | frame | The frame. |
AudioFrameBufferEventArgs(RAWAudioFrame, ref bool)
Initializes a new instance of the AudioFrameBufferEventArgs class.
Declaration
public AudioFrameBufferEventArgs(RAWAudioFrame frame, ref bool updateData)
Parameters
Type | Name | Description |
---|---|---|
RAWAudioFrame | frame | The frame. |
bool | updateData | Update data flag. |
Properties
Frame
Gets the frame.
Declaration
public AudioFrame Frame { get; }
Property Value
Type | Description |
---|---|
AudioFrame | The frame. |
StreamID
Gets or sets audio stream ID.
Declaration
public int StreamID { get; set; }
Property Value
Type | Description |
---|---|
int |
UpdateData
Gets or sets a value indicating whether update data required.
Declaration
public bool UpdateData { get; set; }
Property Value
Type | Description |
---|---|
bool |
|