AudioFrameOutputNode
AudioFrameOutputNode
AudioFrameOutputNode
AudioFrameOutputNode
Class
Definition
Represents an audio frame output node.
public : sealed class AudioFrameOutputNode : IClosable, IAudioFrameOutputNode, IAudioNodepublic sealed class AudioFrameOutputNode : IDisposable, IAudioFrameOutputNode, IAudioNodePublic NotInheritable Class AudioFrameOutputNode Implements IDisposable, IAudioFrameOutputNode, IAudioNode// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Get an instance of this class by calling CreateFrameOutputNode.
Properties
ConsumeInput ConsumeInput ConsumeInput ConsumeInput
Gets or sets a value indicating if the audio frame output node consumes input.
public : PlatForm::Boolean ConsumeInput { get; set; }public bool ConsumeInput { get; set; }Public ReadWrite Property ConsumeInput As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the audio frame output node consumes input, and false otherwise.
EffectDefinitions EffectDefinitions EffectDefinitions EffectDefinitions
Gets the list of effect definitions for the audio frame output node.
public : IVector<IAudioEffectDefinition> EffectDefinitions { get; }public IList<IAudioEffectDefinition> EffectDefinitions { get; }Public ReadOnly Property EffectDefinitions As IList<IAudioEffectDefinition>// You can use this property in JavaScript.
- Value
- IVector<IAudioEffectDefinition> IList<IAudioEffectDefinition> IList<IAudioEffectDefinition> IList<IAudioEffectDefinition>
The list of effect definitions for the node.
- See Also
EncodingProperties EncodingProperties EncodingProperties EncodingProperties
Gets the encoding properties for the audio frame output node.
public : AudioEncodingProperties EncodingProperties { get; }public AudioEncodingProperties EncodingProperties { get; }Public ReadOnly Property EncodingProperties As AudioEncodingProperties// You can use this property in JavaScript.
- Value
- AudioEncodingProperties AudioEncodingProperties AudioEncodingProperties AudioEncodingProperties
The encoding properties for the node.
OutgoingGain OutgoingGain OutgoingGain OutgoingGain
Gets or sets the outgoing gain for the audio frame output node.
public : double OutgoingGain { get; set; }public double OutgoingGain { get; set; }Public ReadWrite Property OutgoingGain As double// You can use this property in JavaScript.
- Value
- double double double double
The outgoing gain value.
Methods
Close() Close() Close() Close()
Closes the audio frame output node.
public : void Close()This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
DisableEffectsByDefinition(IAudioEffectDefinition) DisableEffectsByDefinition(IAudioEffectDefinition) DisableEffectsByDefinition(IAudioEffectDefinition) DisableEffectsByDefinition(IAudioEffectDefinition)
Disables all effects in the EffectDefinitions list with the specified effect definition.
public : void DisableEffectsByDefinition(IAudioEffectDefinition definition)public void DisableEffectsByDefinition(IAudioEffectDefinition definition)Public Function DisableEffectsByDefinition(definition As IAudioEffectDefinition) As void// You can use this method in JavaScript.
- definition
- IAudioEffectDefinition IAudioEffectDefinition IAudioEffectDefinition IAudioEffectDefinition
The effect definition of the effects to disable.
Dispose() Dispose() Dispose() Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
This member is not implemented in C++void Dispose()Sub Disposevoid Dispose()
EnableEffectsByDefinition(IAudioEffectDefinition) EnableEffectsByDefinition(IAudioEffectDefinition) EnableEffectsByDefinition(IAudioEffectDefinition) EnableEffectsByDefinition(IAudioEffectDefinition)
Enables all effects in the EffectDefinitions list with the specified effect definition.
public : void EnableEffectsByDefinition(IAudioEffectDefinition definition)public void EnableEffectsByDefinition(IAudioEffectDefinition definition)Public Function EnableEffectsByDefinition(definition As IAudioEffectDefinition) As void// You can use this method in JavaScript.
- definition
- IAudioEffectDefinition IAudioEffectDefinition IAudioEffectDefinition IAudioEffectDefinition
The effect definition of the effects to enable.
GetFrame() GetFrame() GetFrame() GetFrame()
Gets an audio frame containing all of the data accumulated by this node since the previous call to GetFrame. If GetFrame has not yet been called, the audio frame will contain all of the data accumulated since the node was created.
public : AudioFrame GetFrame()public AudioFrame GetFrame()Public Function GetFrame() As AudioFrame// You can use this method in JavaScript.
An AudioFrame object representing the frame.
Remarks
If you want to retrieve audio frames on a regular cadence, synchronized with the audio graph, you can call this method from within the synchronous QuantumStarted event handler. The QuantumProcessed event is raised asynchronously after the audio engine has completed audio processing, which means its cadence may be irregular. Therefore you should not use the QuantumProcessed event for synchronized processing of audio frame data.
Reset() Reset() Reset() Reset()
Resets the audio frame output node.
public : void Reset()public void Reset()Public Function Reset() As void// You can use this method in JavaScript.
Start() Start() Start() Start()
Starts the audio frame output node.
public : void Start()public void Start()Public Function Start() As void// You can use this method in JavaScript.
Remarks
Audio graph nodes are created in the started state by default and will start processing audio when AudioGraph.Start is called. This method will restart processing for a node that was stopped with a call to Stop.
Stop() Stop() Stop() Stop()
Stops the audio frame output node.
public : void Stop()public void Stop()Public Function Stop() As void// You can use this method in JavaScript.
Remarks
To stop all processing for all nodes of the graph, call AudioGraph.Stop.