AppBroadcastStreamReader.TryGetNextAudioFrame 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.
Attempts to obtain an AppBroadcastStreamAudioFrame object representing the latest audio frame from the broadcast stream.
public:
virtual AppBroadcastStreamAudioFrame ^ TryGetNextAudioFrame() = TryGetNextAudioFrame;
AppBroadcastStreamAudioFrame TryGetNextAudioFrame();
public AppBroadcastStreamAudioFrame TryGetNextAudioFrame();
function tryGetNextAudioFrame()
Public Function TryGetNextAudioFrame () As AppBroadcastStreamAudioFrame
Returns
If successful, the latest audio frame from the broadcast stream; otherwise, null.
Windows requirements
App capabilities |
appBroadcast
appBroadcastSettings
|
Remarks
In order to avoid unnecessary copying of frame data, this method returns a reference to frame data stored in a circular buffer. After acquiring a frame, you should make a copy of frame data and release the buffer as quickly as possible.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro