Bagikan melalui


AudioFrameInputNode.AudioFrameCompleted Kejadian

Definisi

Memberi tahu bingkai audio lengkap yang telah dikirimkan ke grafik dengan panggilan ke AddFrame.

// Register
event_token AudioFrameCompleted(TypedEventHandler<AudioFrameInputNode, AudioFrameCompletedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AudioFrameInputNode::AudioFrameCompleted_revoker AudioFrameCompleted(auto_revoke_t, TypedEventHandler<AudioFrameInputNode, AudioFrameCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<AudioFrameInputNode,AudioFrameCompletedEventArgs> AudioFrameCompleted;
function onAudioFrameCompleted(eventArgs) { /* Your code */ }
audioFrameInputNode.addEventListener("audioframecompleted", onAudioFrameCompleted);
audioFrameInputNode.removeEventListener("audioframecompleted", onAudioFrameCompleted);
- or -
audioFrameInputNode.onaudioframecompleted = onAudioFrameCompleted;
Public Custom Event AudioFrameCompleted As TypedEventHandler(Of AudioFrameInputNode, AudioFrameCompletedEventArgs) 

Jenis Acara

Berlaku untuk