Udostępnij za pośrednictwem


AppBroadcastStreamAudioFrame Class

Definition

Represents a frame of audio samples in a broadcast stream.

Note

This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public ref class AppBroadcastStreamAudioFrame sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppBroadcastStreamAudioFrame final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppBroadcastStreamAudioFrame
Public NotInheritable Class AppBroadcastStreamAudioFrame
Inheritance
Object Platform::Object IInspectable AppBroadcastStreamAudioFrame
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.Media.Capture.AppBroadcastContract (introduced in v1.0)
App capabilities
appBroadcast appBroadcastSettings

Remarks

Get an instance of this class by calling AppBroadcastStreamReader.TryGetNextAudioFrame.

Properties

AudioBuffer

Gets the buffer containing the audio samples for the broadcast audio frame.

AudioHeader

Gets an object that contains metadata about the associated broadcast audio frame.

Applies to