IBasicAudioEffect 介面

定義

您實作以建立自訂音訊效果的介面。

public interface class IBasicAudioEffect : IMediaExtension
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2349214803, 27584, 18616, 169, 154, 75, 65, 85, 15, 19, 89)]
struct IBasicAudioEffect : IMediaExtension
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2349214803, 27584, 18616, 169, 154, 75, 65, 85, 15, 19, 89)]
public interface IBasicAudioEffect : IMediaExtension
Public Interface IBasicAudioEffect
Implements IMediaExtension
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

SupportedEncodingProperties

取得自訂音訊效果支援的編碼屬性。

UseInputFrameForOutput

取得值,這個值表示輸入畫面是否用於音訊效果的輸出。

方法

Close(MediaEffectClosedReason)

當音訊效果應該關閉並清除已配置的資源時呼叫。

DiscardQueuedFrames()

呼叫 以允許音訊效果實作選擇性地捨棄與已接收之樣本相關的任何預存狀態。

ProcessFrame(ProcessAudioFrameContext)

當範例可供自訂音訊效果處理時呼叫。

SetEncodingProperties(AudioEncodingProperties)

呼叫 以設定自訂音訊效果的編碼屬性。

SetProperties(IPropertySet)

設定註冊媒體剖析器或編解碼器時所提供的組態屬性。

(繼承來源 IMediaExtension)

適用於

另請參閱