AudioFileInputNode.LoopCount AudioFileInputNode.LoopCount AudioFileInputNode.LoopCount AudioFileInputNode.LoopCount AudioFileInputNode.LoopCount Property

Definition

Gets or sets the loop count of the audio file input node.

public : IReference<int> LoopCount { get; set; }
IReference<int32_t> LoopCount();

void LoopCount(IReference<int32_t> loopcount);
public Nullable<int> LoopCount { get; set; }
Public ReadWrite Property LoopCount As Nullable<int>
var nullable = audioFileInputNode.loopCount;
audioFileInputNode.loopCount = nullable;

Property Value

Nullable<int> Nullable<int> Nullable<int>

A reference to an integer representing the loop count.

Remarks

The LoopCount property specifies the number of times that the node will seek back to the StartTime, or the beginning of the file if StartTime is not set, and replay the content of the file. This value does not include the initial playback of the file, so using the default value of 0 will result in the file being played once, and setting the value to 5 will result in the file being played 6 times in total. Setting this value to null will cause the file to be looped indefinitely. To break out of the infinite loop, set LoopCount back to 0.