Поделиться через


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) 

Тип события

Применяется к