Share via


AudioGraphSettings.QuantumSizeSelectionMode Property

Definition

Gets or sets the quantum size selection mode for the audio graph.

public:
 property QuantumSizeSelectionMode QuantumSizeSelectionMode { QuantumSizeSelectionMode get(); void set(QuantumSizeSelectionMode value); };
QuantumSizeSelectionMode QuantumSizeSelectionMode();

void QuantumSizeSelectionMode(QuantumSizeSelectionMode value);
public QuantumSizeSelectionMode QuantumSizeSelectionMode { get; set; }
var quantumSizeSelectionMode = audioGraphSettings.quantumSizeSelectionMode;
audioGraphSettings.quantumSizeSelectionMode = quantumSizeSelectionMode;
Public Property QuantumSizeSelectionMode As QuantumSizeSelectionMode

Property Value

An enumeration value indicating the quantum size selection mode. If the audio graph is only to be used with files, it is strongly recommended to use the value SystemDefault.

Windows requirements

App capabilities
backgroundMediaRecording

Remarks

If the audio graph you created is intended to be used exclusively with files, it is strongly recommended that you set the QuantumSizeSelectionMode to SystemDefault.

Selecting QuantumSizeSelectionMode.LowestLatency can result in different quantum sizes across different devices or audio endpoints.

Applies to