Share via


AudioStreamDescriptor.TrailingEncoderPadding Property

Definition

Gets or sets the number of samples inserted at the end 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> ^ TrailingEncoderPadding { IReference<unsigned int> ^ get(); void set(IReference<unsigned int> ^ value); };
IReference<uint32_t> TrailingEncoderPadding();

void TrailingEncoderPadding(IReference<uint32_t> value);
public System.Nullable<uint> TrailingEncoderPadding { get; set; }
var iReference = audioStreamDescriptor.trailingEncoderPadding;
audioStreamDescriptor.trailingEncoderPadding = iReference;
Public Property TrailingEncoderPadding 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 end 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