MediaBufferT Constructor (T, Int32, Int32, Double, Double) |
Creates a MediaBuffer by passing an external array. This buffer will not be associated
with a LockableRingBuffer.
Namespace: StreamCodersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public MediaBuffer(
T[] array,
int offset,
int count,
double startTime,
double endTime
)
Public Sub New (
array As T(),
offset As Integer,
count As Integer,
startTime As Double,
endTime As Double
)
public:
MediaBuffer(
array<T>^ array,
int offset,
int count,
double startTime,
double endTime
)
new :
array : 'T[] *
offset : int *
count : int *
startTime : float *
endTime : float -> MediaBuffer
Parameters
- array
- Type: T
The array of elements to associate. - offset
- Type: SystemInt32
Offset into array. - count
- Type: SystemInt32
Number of relevant elements. - startTime
- Type: SystemDouble
Start time of media. - endTime
- Type: SystemDouble
End time of media.
See Also