AudioFrameOutputNode.GetFrame Method
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 an audio frame containing all of the data accumulated by this node since the previous call to GetFrame. If GetFrame has not yet been called, the audio frame will contain all of the data accumulated since the node was created.
public:
virtual AudioFrame ^ GetFrame() = GetFrame;
AudioFrame GetFrame();
public AudioFrame GetFrame();
function getFrame()
Public Function GetFrame () As AudioFrame
Returns
An AudioFrame object representing the frame.
Remarks
If you want to retrieve audio frames on a regular cadence, synchronized with the audio graph, you can call this method from within the synchronous QuantumStarted event handler. The QuantumProcessed event is raised asynchronously after the audio engine has completed audio processing, which means its cadence may be irregular. Therefore you should not use the QuantumProcessed event for synchronized processing of audio frame data.