مشاركة عبر


MediaCapture.AddAudioEffectAsync(IAudioEffectDefinition) Method

Definition

Adds an audio effect to the capture pipeline.

public:
 virtual IAsyncOperation<IMediaExtension ^> ^ AddAudioEffectAsync(IAudioEffectDefinition ^ definition) = AddAudioEffectAsync;
IAsyncOperation<IMediaExtension> AddAudioEffectAsync(IAudioEffectDefinition const& definition);
public IAsyncOperation<IMediaExtension> AddAudioEffectAsync(IAudioEffectDefinition definition);
function addAudioEffectAsync(definition)
Public Function AddAudioEffectAsync (definition As IAudioEffectDefinition) As IAsyncOperation(Of IMediaExtension)

Parameters

definition
IAudioEffectDefinition

The object containing the definition of the effect to be added.

Returns

An asynchronous operation that returns an IMediaExtension upon successful completion.

Windows requirements

App capabilities
backgroundMediaRecording

Applies to