AudioMediaFrame.FrameReference Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the MediaFrameReference wrapper object associated with the AudioMediaFrame, which provides access to format information and other properties of the media frame.
public:
property MediaFrameReference ^ FrameReference { MediaFrameReference ^ get(); };
MediaFrameReference FrameReference();
public MediaFrameReference FrameReference { get; }
var mediaFrameReference = audioMediaFrame.frameReference;
Public ReadOnly Property FrameReference As MediaFrameReference
Property Value
The MediaFrameReference wrapper object associated with the AudioMediaFrame.
Remarks
The TryAcquireLatestFrame method, which acquires the latest media frame from a MediaFrameReader, returns a MediaFrameReference which is a wrapper class for all types of media frames. If the reference wraps an audio frame, use the MediaFrameReference.AudioMediaFrame property to get an AudioMediaFrame instance. This property lets you get the MediaFrameReference object from which the AudioMediaFrame was obtained.