AudioFrame.RelativeTime Property

Definition

Gets or sets the relative time of the frame within the audio stream.

public:
 property IReference<TimeSpan> ^ RelativeTime { IReference<TimeSpan> ^ get(); void set(IReference<TimeSpan> ^ value); };
IReference<TimeSpan> RelativeTime();

void RelativeTime(IReference<TimeSpan> value);
public System.Nullable<System.TimeSpan> RelativeTime { get; set; }
var iReference = audioFrame.relativeTime;
audioFrame.relativeTime = iReference;
Public Property RelativeTime As Nullable(Of TimeSpan)

Property Value

The relative time of the frame within the audio stream.

Implements

Remarks

Use SystemRelativeTime to get a timestamp that is relative to the system and is correlatable across multiple media sources on the same device.

Applies to

See also