Jaa


MediaFrameReference.AudioMediaFrame Property

Definition

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

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

Property Value

The AudioMediaFrame wrapped by the MediaFrameReference.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

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.

Applies to