共用方式為


MediaCapture.AddAudioEffectAsync(IAudioEffectDefinition) 方法

定義

將音訊效果新增至擷取管線。

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)

參數

definition
IAudioEffectDefinition

物件,包含要加入之效果的定義。

傳回

非同步作業,會在成功完成時傳回 IMediaExtension

Windows 需求

應用程式功能
backgroundMediaRecording

適用於