| AudioMediaBuffer Class |
Namespace: StreamCoders
The AudioMediaBuffer type exposes the following members.
| Name | Description | |
|---|---|---|
| AudioMediaBuffer(Byte) | Initializes a new instance of the AudioMediaBuffer class | |
| AudioMediaBuffer(Int32) | Initializes a new instance of the AudioMediaBuffer class | |
| AudioMediaBuffer(MediaBufferByte) | Initializes a new instance of the AudioMediaBuffer class | |
| AudioMediaBuffer(OffsetBufferByte) | Initializes a new instance of the AudioMediaBuffer class |
| Name | Description | |
|---|---|---|
| BitsPerSample |
Gets or sets the bits per sample.
| |
| Channels |
Gets or sets the number channels.
| |
| CreationTime |
Time of buffer creation.
(Inherited from MediaBufferT.) | |
| Duration |
Media time (Duration). Effectively EndTime - StartTime (Inherited from MediaBufferT.) | |
| ProcessingTime | (Inherited from MediaBufferT.) | |
| Samplerate |
Gets or sets the sample-rate to be used.
|
| Name | Description | |
|---|---|---|
| CopyMetaDataFrom |
Copies meta data from a source MediaBuffer. This includes: StartTime, EndTime, IsKeyframe,
PackageType, ExtendedInfo. Not included: OffsetBuffer.
(Inherited from MediaBufferT.) | |
| DeepCopy |
Creates a deep copy of MediaBuffer by cloning the OffsetBuffer and meta data. Exceptions
are: ExtendedInfo and when a MediaBuffer is locked, then the lock state will remain
unlocked (unacquired).
(Inherited from MediaBufferT.) | |
| ResetVariables |
Resets StartTime, EndTime, Duration, Buffer.Offset to 0.
(Inherited from MediaBufferT.) | |
| ToString |
Convert this instance into a string representation.
(Inherited from MediaBufferT.) |
| Name | Description | |
|---|---|---|
| Buffer |
Holds elements relevant to MediaBuffer.
(Inherited from MediaBufferT.) | |
| EndTime |
Media time (End). In most cases this represents the presentation time + duration.
(Inherited from MediaBufferT.) | |
| ExtendedInfo |
Is used to store additional/custom information within the buffer.
(Inherited from MediaBufferT.) | |
| IsDiscontinuity |
Indicates that there was a discontinuity in the stream. This flag is passed to decoders.
(Inherited from MediaBufferT.) | |
| IsKeyFrame |
true if this instance is key frame.
(Inherited from MediaBufferT.) | |
| PackageType |
Describes the content of this buffer.
(Inherited from MediaBufferT.) | |
| StartTime |
Media time (Start). In most cases this represents the presentation time.
(Inherited from MediaBufferT.) |
| Name | Description | |
|---|---|---|
| Copy | Overloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.) | |
| Copy(Object) | Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.) |