Struct DmoMediaType
http://msdn.microsoft.com/en-us/library/aa929922.aspx DMO_MEDIA_TYPE
public struct DmoMediaType
- Inherited Members
Remarks
Field types match the COM ABI exactly so the struct can be pinned and
passed to GeneratedComInterfaceAttribute
methods that take an nint without going through the legacy
runtime marshaller. Booleans are int (matching Win32 BOOL) for
the same reason — they are projected as bool via properties.
Properties
FixedSizeSamples
Fixed size samples
public bool FixedSizeSamples { get; }
Property Value
FormatType
Format type
public Guid FormatType { get; }
Property Value
FormatTypeName
Format type name
public string FormatTypeName { get; }
Property Value
MajorType
Major type
public Guid MajorType { get; }
Property Value
MajorTypeName
Major type name
public string MajorTypeName { get; }
Property Value
SampleSize
Sample size
public int SampleSize { get; }
Property Value
SubType
Subtype
public Guid SubType { get; }
Property Value
SubTypeName
Subtype name
public string SubTypeName { get; }
Property Value
Methods
GetWaveFormat()
Gets the structure as a Wave format (if it is one)
public WaveFormat GetWaveFormat()
Returns
SetWaveFormat(WaveFormat)
Sets this object up to point to a wave format
public void SetWaveFormat(WaveFormat waveFormat)
Parameters
waveFormatWaveFormatWave format structure