AudioGraph.QuantumProcessed イベント

定義

オーディオ グラフが指定した量子を処理したことを通知します。

// Register
event_token QuantumProcessed(TypedEventHandler<AudioGraph, IInspectable const&> const& handler) const;

// Revoke with event_token
void QuantumProcessed(event_token const* cookie) const;

// Revoke with event_revoker
AudioGraph::QuantumProcessed_revoker QuantumProcessed(auto_revoke_t, TypedEventHandler<AudioGraph, IInspectable const&> const& handler) const;
public event TypedEventHandler<AudioGraph,object> QuantumProcessed;
function onQuantumProcessed(eventArgs) { /* Your code */ }
audioGraph.addEventListener("quantumprocessed", onQuantumProcessed);
audioGraph.removeEventListener("quantumprocessed", onQuantumProcessed);
- or -
audioGraph.onquantumprocessed = onQuantumProcessed;
Public Custom Event QuantumProcessed As TypedEventHandler(Of AudioGraph, Object) 

イベントの種類

Windows の要件

アプリの機能
backgroundMediaRecording

注釈

QuantumProcessed イベントは非同期です。つまり、このイベントのハンドラー内の AudioGraph と個々のオーディオ ノードのプロパティと状態を更新できます。 ただし、このイベントは非同期であり、オーディオ エンジンの処理が完了した後にのみ発生するため、通常の頻度では発生せず、 AudioFrameOutputNode.GetFrame メソッドから取得したオーディオ データの同期処理には使用しないでください。 代わりに、同期されたオーディオ処理に QuantumStarted イベントを使用することをお勧めします。

適用対象