다음을 통해 공유


AudioFrameInputNode.AudioFrameCompleted 이벤트

정의

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) 

이벤트 유형

적용 대상