MediaFrameReference.AudioMediaFrame MediaFrameReference.AudioMediaFrame MediaFrameReference.AudioMediaFrame MediaFrameReference.AudioMediaFrame MediaFrameReference.AudioMediaFrame Property

Definition

Gets the AudioMediaFrame wrapped by the MediaFrameReference, if that is the type of frame represented.

public : AudioMediaFrame AudioMediaFrame { get; }
AudioMediaFrame AudioMediaFrame();
public AudioMediaFrame AudioMediaFrame { get; }
Public ReadOnly Property AudioMediaFrame As AudioMediaFrame
var audioMediaFrame = mediaFrameReference.audioMediaFrame;

Property Value

Additional features and requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

Remarks

If the frame reference wraps a different type of frame, or if the audio frame data is in a format that is unsupported, then this property is null. In this case, you can access the BufferMediaFrame property, which is always non-null.