AudioGraphSettings AudioGraphSettings AudioGraphSettings AudioGraphSettings AudioGraphSettings Class

Definition

Represents initialization settings for an audio graph. Set the properties of this object to your desired values and then call AudioGraph.CreateAsync to create a new audio graph instance with the specified settings.

public : sealed class AudioGraphSettings
struct winrt::Windows::Media::Audio::AudioGraphSettings
public sealed class AudioGraphSettings
Public NotInheritable Class AudioGraphSettings
var audioGraphSettings = new audioGraphSettings(audioRenderCategory);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
backgroundMediaRecording

Remarks

Version history

Windows version SDK version Value added
1803 17134 MaxPlaybackSpeedFactor

Constructors

AudioGraphSettings(AudioRenderCategory) AudioGraphSettings(AudioRenderCategory) AudioGraphSettings(AudioRenderCategory) AudioGraphSettings(AudioRenderCategory) AudioGraphSettings(AudioRenderCategory)

Initializes a new instance of the AudioGraphSettings class with initial settings values optimized for the specified AudioRenderCategory.

Properties

AudioRenderCategory AudioRenderCategory AudioRenderCategory AudioRenderCategory AudioRenderCategory

Gets or sets a value that indicates the audio render category setting for the audio graph.

DesiredRenderDeviceAudioProcessing DesiredRenderDeviceAudioProcessing DesiredRenderDeviceAudioProcessing DesiredRenderDeviceAudioProcessing DesiredRenderDeviceAudioProcessing

Gets or sets a value that indicates the desired audio processing mode setting for the audio graph.

DesiredSamplesPerQuantum DesiredSamplesPerQuantum DesiredSamplesPerQuantum DesiredSamplesPerQuantum DesiredSamplesPerQuantum

Gets or sets the desired number of samples per quantum defined for the audio graph.

EncodingProperties EncodingProperties EncodingProperties EncodingProperties EncodingProperties

Gets or sets the audio encoding properties setting for the audio graph.

MaxPlaybackSpeedFactor MaxPlaybackSpeedFactor MaxPlaybackSpeedFactor MaxPlaybackSpeedFactor MaxPlaybackSpeedFactor

Gets or sets the maximum playback speed of input nodes in the AudioGraph.

PrimaryRenderDevice PrimaryRenderDevice PrimaryRenderDevice PrimaryRenderDevice PrimaryRenderDevice

Gets or sets an object that represents the primary render device for the audio graph.

QuantumSizeSelectionMode QuantumSizeSelectionMode QuantumSizeSelectionMode QuantumSizeSelectionMode QuantumSizeSelectionMode

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