Dela via


AudioStreamDescriptor.LeadingEncoderPadding Property

Definition

Gets or sets the number of samples inserted at the beginning of the audio stream by the encoder as padding. Use this property to explicitly set the padding size the system will use to implement gapless playback for the audio stream.

public:
 property IReference<unsigned int> ^ LeadingEncoderPadding { IReference<unsigned int> ^ get(); void set(IReference<unsigned int> ^ value); };
IReference<uint32_t> LeadingEncoderPadding();

void LeadingEncoderPadding(IReference<uint32_t> value);
public System.Nullable<uint> LeadingEncoderPadding { get; set; }
var iReference = audioStreamDescriptor.leadingEncoderPadding;
audioStreamDescriptor.leadingEncoderPadding = iReference;
Public Property LeadingEncoderPadding As Nullable(Of UInteger)

Property Value

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference<unsigned int>

IReference<uint32_t>

The number of samples inserted at the beginning of the audio stream by the encoder as padding.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to