TIEMediaFoundationSourceReader.PopNotifyReceiver
Declaration
procedure PopNotifyReceiver();
Description
Removes the last added notify receiver.
Applications can use this method to remove the audio renderer after capture ends.
// Add the audio renderer
audioStreamindex := ImageEnView1.IO.MediaFoundationSourceReader.IndexOfFirstStream(mmf_AUDIO_STREAM);
ImageEnView1.IO.MediaFoundationSourceReader.PushNotifyReceiver( TIEMediaFoundationAudioRenderer.Create(audioStreamIndex) );
ImageEnView1.IO.MediaFoundationSourceReader.StartCapture();
// Remove the audio renderer
ImageEnView1.IO.MediaFoundationSourceReader.StopCapture();
ImageEnView1.IO.MediaFoundationSourceReader.PopNotifyReceiver();
See Also
◼ClearNotifyReceivers
◼PushNotifyReceiver
◼TIEMediaFoundationAudioRenderer