Xeno-rat
Loading...
Searching...
No Matches
NAudio.MediaFoundation Namespace Reference

Classes

class  AudioSubtypes
 Audio Subtype GUIDs http://msdn.microsoft.com/en-us/library/windows/desktop/aa372553%28v=vs.85%29.aspx. More...
 
interface  IMFActivate
 IMFActivate, defined in mfobjects.h. More...
 
interface  IMFAttributes
 Provides a generic way to store key/value pairs on an object. http://msdn.microsoft.com/en-gb/library/windows/desktop/ms704598%28v=vs.85%29.aspx. More...
 
interface  IMFByteStream
 IMFByteStream http://msdn.microsoft.com/en-gb/library/windows/desktop/ms698720%28v=vs.85%29.aspx. More...
 
interface  IMFCollection
 Represents a generic collection of IUnknown pointers. More...
 
interface  IMFMediaBuffer
 IMFMediaBuffer http://msdn.microsoft.com/en-gb/library/windows/desktop/ms696261%28v=vs.85%29.aspx. More...
 
interface  IMFMediaEvent
 IMFMediaEvent - Represents an event generated by a Media Foundation object. Use this interface to get information about the event. http://msdn.microsoft.com/en-us/library/windows/desktop/ms702249%28v=vs.85%29.aspx Mfobjects.h. More...
 
interface  IMFMediaType
 Represents a description of a media format. http://msdn.microsoft.com/en-us/library/windows/desktop/ms704850%28v=vs.85%29.aspx. More...
 
interface  IMFReadWriteClassFactory
 Creates an instance of either the sink writer or the source reader. More...
 
interface  IMFSample
 http://msdn.microsoft.com/en-gb/library/windows/desktop/ms702192%28v=vs.85%29.aspx More...
 
interface  IMFSinkWriter
 Implemented by the Microsoft Media Foundation sink writer object. More...
 
interface  IMFSourceReader
 IMFSourceReader interface http://msdn.microsoft.com/en-us/library/windows/desktop/dd374655%28v=vs.85%29.aspx. More...
 
interface  IMFTransform
 IMFTransform, defined in mftransform.h. More...
 
class  MediaFoundationApi
 Main interface for using Media Foundation with NAudio. More...
 
class  MediaFoundationAttributes
 Media Foundation attribute guids http://msdn.microsoft.com/en-us/library/windows/desktop/ms696989%28v=vs.85%29.aspx. More...
 
class  MediaFoundationErrors
 Media Foundation Errors. More...
 
class  MediaFoundationInterop
 Interop definitions for MediaFoundation thanks to Lucian Wischik for the initial work on many of these definitions (also various interfaces) n.b. the goal is to make as much of this internal as possible, and provide better .NET APIs using the MediaFoundationApi class instead. More...
 
class  MediaFoundationTransform
 An abstract base class for simplifying working with Media Foundation Transforms You need to override the method that actually creates and configures the transform. More...
 
class  MediaFoundationTransformCategories
 Media Foundation Transform Categories. More...
 
class  MediaType
 Media Type helper class, simplifying working with IMFMediaType (will probably change in the future, to inherit from an attributes class) Currently does not release the COM object, so you must do that yourself. More...
 
class  MediaTypes
 Major Media Types http://msdn.microsoft.com/en-us/library/windows/desktop/aa367377%28v=vs.85%29.aspx. More...
 
class  MF_SINK_WRITER_STATISTICS
 Contains statistics about the performance of the sink writer. More...
 
class  MFReadWriteClassFactory
 CLSID_MFReadWriteClassFactory. More...
 
struct  MFT_INPUT_STREAM_INFO
 Contains information about an input stream on a Media Foundation transform (MFT) More...
 
struct  MFT_OUTPUT_DATA_BUFFER
 Contains information about an output buffer for a Media Foundation transform. More...
 
struct  MFT_OUTPUT_STREAM_INFO
 Contains information about an output stream on a Media Foundation transform (MFT). More...
 
class  MFT_REGISTER_TYPE_INFO
 Contains media type information for registering a Media Foundation transform (MFT). More...
 
class  TranscodeContainerTypes
 https://docs.microsoft.com/en-us/windows/win32/medfound/mf-transcode-containertype More...
 

Enumerations

enum  _MFT_ENUM_FLAG {
  None = 0 , MFT_ENUM_FLAG_SYNCMFT = 0x00000001 , MFT_ENUM_FLAG_ASYNCMFT = 0x00000002 , MFT_ENUM_FLAG_HARDWARE = 0x00000004 ,
  MFT_ENUM_FLAG_FIELDOFUSE = 0x00000008 , MFT_ENUM_FLAG_LOCALMFT = 0x00000010 , MFT_ENUM_FLAG_TRANSCODE_ONLY = 0x00000020 , MFT_ENUM_FLAG_SORTANDFILTER = 0x00000040 ,
  MFT_ENUM_FLAG_ALL = 0x0000003F
}
 Contains flags for registering and enumeration Media Foundation transforms (MFTs). More...
 
enum  _MFT_INPUT_STATUS_FLAGS { None = 0 , MFT_INPUT_STATUS_ACCEPT_DATA = 0x00000001 }
 Indicates the status of an input stream on a Media Foundation transform (MFT). More...
 
enum  _MFT_INPUT_STREAM_INFO_FLAGS {
  None = 0 , MFT_INPUT_STREAM_WHOLE_SAMPLES = 0x00000001 , MFT_INPUT_STREAM_SINGLE_SAMPLE_PER_BUFFER = 0x00000002 , MFT_INPUT_STREAM_FIXED_SAMPLE_SIZE = 0x00000004 ,
  MFT_INPUT_STREAM_HOLDS_BUFFERS = 0x00000008 , MFT_INPUT_STREAM_DOES_NOT_ADDREF = 0x00000100 , MFT_INPUT_STREAM_REMOVABLE = 0x00000200 , MFT_INPUT_STREAM_OPTIONAL = 0x00000400 ,
  MFT_INPUT_STREAM_PROCESSES_IN_PLACE = 0x00000800
}
 Describes an input stream on a Media Foundation transform (MFT). More...
 
enum  _MFT_OUTPUT_DATA_BUFFER_FLAGS {
  None = 0 , MFT_OUTPUT_DATA_BUFFER_INCOMPLETE = 0x01000000 , MFT_OUTPUT_DATA_BUFFER_FORMAT_CHANGE = 0x00000100 , MFT_OUTPUT_DATA_BUFFER_STREAM_END = 0x00000200 ,
  MFT_OUTPUT_DATA_BUFFER_NO_SAMPLE = 0x00000300
}
 Defines flags for the IMFTransform::ProcessOutput method. More...
 
enum  _MFT_OUTPUT_STATUS_FLAGS { None = 0 , MFT_OUTPUT_STATUS_SAMPLE_READY = 0x00000001 }
 Indicates whether a Media Foundation transform (MFT) can produce output data. More...
 
enum  _MFT_OUTPUT_STREAM_INFO_FLAGS {
  None = 0 , MFT_OUTPUT_STREAM_WHOLE_SAMPLES = 0x00000001 , MFT_OUTPUT_STREAM_SINGLE_SAMPLE_PER_BUFFER = 0x00000002 , MFT_OUTPUT_STREAM_FIXED_SAMPLE_SIZE = 0x00000004 ,
  MFT_OUTPUT_STREAM_DISCARDABLE = 0x00000008 , MFT_OUTPUT_STREAM_OPTIONAL = 0x00000010 , MFT_OUTPUT_STREAM_PROVIDES_SAMPLES = 0x00000100 , MFT_OUTPUT_STREAM_CAN_PROVIDE_SAMPLES = 0x00000200 ,
  MFT_OUTPUT_STREAM_LAZY_READ = 0x00000400 , MFT_OUTPUT_STREAM_REMOVABLE = 0x00000800
}
 Describes an output stream on a Media Foundation transform (MFT). More...
 
enum  _MFT_PROCESS_OUTPUT_FLAGS { None , MFT_PROCESS_OUTPUT_DISCARD_WHEN_NO_BUFFER = 0x00000001 , MFT_PROCESS_OUTPUT_REGENERATE_LAST_OUTPUT = 0x00000002 }
 Defines flags for processing output samples in a Media Foundation transform (MFT). More...
 
enum  _MFT_PROCESS_OUTPUT_STATUS { None = 0 , MFT_PROCESS_OUTPUT_STATUS_NEW_STREAMS = 0x00000100 }
 Process Output Status flags. More...
 
enum  _MFT_SET_TYPE_FLAGS { None = 0 , MFT_SET_TYPE_TEST_ONLY = 0x00000001 }
 Defines flags for the setting or testing the media type on a Media Foundation transform (MFT). More...
 
enum  MF_SOURCE_READER_FLAG {
  None = 0 , MF_SOURCE_READERF_ERROR = 0x00000001 , MF_SOURCE_READERF_ENDOFSTREAM = 0x00000002 , MF_SOURCE_READERF_NEWSTREAM = 0x00000004 ,
  MF_SOURCE_READERF_NATIVEMEDIATYPECHANGED = 0x00000010 , MF_SOURCE_READERF_CURRENTMEDIATYPECHANGED = 0x00000020 , MF_SOURCE_READERF_STREAMTICK = 0x00000100 , MF_SOURCE_READERF_ALLEFFECTSREMOVED = 0x00000200
}
 Contains flags that indicate the status of the IMFSourceReader::ReadSample method http://msdn.microsoft.com/en-us/library/windows/desktop/dd375773(v=vs.85).aspx. More...
 
enum  MediaEventType {
  MEUnknown = 0 , MEError = 1 , MEExtendedType = 2 , MENonFatalError = 3 ,
  MESessionUnknown = 100 , MESessionTopologySet = 101 , MESessionTopologiesCleared = 102 , MESessionStarted = 103 ,
  MESessionPaused = 104 , MESessionStopped = 105 , MESessionClosed = 106 , MESessionEnded = 107 ,
  MESessionRateChanged = 108 , MESessionScrubSampleComplete = 109 , MESessionCapabilitiesChanged = 110 , MESessionTopologyStatus = 111 ,
  MESessionNotifyPresentationTime = 112 , MENewPresentation = 113 , MELicenseAcquisitionStart = 114 , MELicenseAcquisitionCompleted = 115 ,
  MEIndividualizationStart = 116 , MEIndividualizationCompleted = 117 , MEEnablerProgress = 118 , MEEnablerCompleted = 119 ,
  MEPolicyError = 120 , MEPolicyReport = 121 , MEBufferingStarted = 122 , MEBufferingStopped = 123 ,
  MEConnectStart = 124 , MEConnectEnd = 125 , MEReconnectStart = 126 , MEReconnectEnd = 127 ,
  MERendererEvent = 128 , MESessionStreamSinkFormatChanged = 129 , MESourceUnknown = 200 , MESourceStarted = 201 ,
  MEStreamStarted = 202 , MESourceSeeked = 203 , MEStreamSeeked = 204 , MENewStream = 205 ,
  MEUpdatedStream = 206 , MESourceStopped = 207 , MEStreamStopped = 208 , MESourcePaused = 209 ,
  MEStreamPaused = 210 , MEEndOfPresentation = 211 , MEEndOfStream = 212 , MEMediaSample = 213 ,
  MEStreamTick = 214 , MEStreamThinMode = 215 , MEStreamFormatChanged = 216 , MESourceRateChanged = 217 ,
  MEEndOfPresentationSegment = 218 , MESourceCharacteristicsChanged = 219 , MESourceRateChangeRequested = 220 , MESourceMetadataChanged = 221 ,
  MESequencerSourceTopologyUpdated = 222 , MESinkUnknown = 300 , MEStreamSinkStarted = 301 , MEStreamSinkStopped = 302 ,
  MEStreamSinkPaused = 303 , MEStreamSinkRateChanged = 304 , MEStreamSinkRequestSample = 305 , MEStreamSinkMarker = 306 ,
  MEStreamSinkPrerolled = 307 , MEStreamSinkScrubSampleComplete = 308 , MEStreamSinkFormatChanged = 309 , MEStreamSinkDeviceChanged = 310 ,
  MEQualityNotify = 311 , MESinkInvalidated = 312 , MEAudioSessionNameChanged = 313 , MEAudioSessionVolumeChanged = 314 ,
  MEAudioSessionDeviceRemoved = 315 , MEAudioSessionServerShutdown = 316 , MEAudioSessionGroupingParamChanged = 317 , MEAudioSessionIconChanged = 318 ,
  MEAudioSessionFormatChanged = 319 , MEAudioSessionDisconnected = 320 , MEAudioSessionExclusiveModeOverride = 321 , METrustUnknown = 400 ,
  MEPolicyChanged = 401 , MEContentProtectionMessage = 402 , MEPolicySet = 403 , MEWMDRMLicenseBackupCompleted = 500 ,
  MEWMDRMLicenseBackupProgress = 501 , MEWMDRMLicenseRestoreCompleted = 502 , MEWMDRMLicenseRestoreProgress = 503 , MEWMDRMLicenseAcquisitionCompleted = 506 ,
  MEWMDRMIndividualizationCompleted = 508 , MEWMDRMIndividualizationProgress = 513 , MEWMDRMProximityCompleted = 514 , MEWMDRMLicenseStoreCleaned = 515 ,
  MEWMDRMRevocationDownloadCompleted = 516 , METransformUnknown = 600 , METransformNeedInput = (METransformUnknown + 1) , METransformHaveOutput = (METransformNeedInput + 1) ,
  METransformDrainComplete = (METransformHaveOutput + 1) , METransformMarker = (METransformDrainComplete + 1)
}
 See mfobjects.h. More...
 
enum  MFT_MESSAGE_TYPE {
  MFT_MESSAGE_COMMAND_FLUSH = 0x00000000 , MFT_MESSAGE_COMMAND_DRAIN = 0x00000001 , MFT_MESSAGE_SET_D3D_MANAGER = 0x00000002 , MFT_MESSAGE_DROP_SAMPLES = 0x00000003 ,
  MFT_MESSAGE_COMMAND_TICK = 0x00000004 , MFT_MESSAGE_NOTIFY_BEGIN_STREAMING = 0x10000000 , MFT_MESSAGE_NOTIFY_END_STREAMING = 0x10000001 , MFT_MESSAGE_NOTIFY_END_OF_STREAM = 0x10000002 ,
  MFT_MESSAGE_NOTIFY_START_OF_STREAM = 0x10000003 , MFT_MESSAGE_COMMAND_MARKER = 0x20000000
}
 Defines messages for a Media Foundation transform (MFT). More...
 

Enumeration Type Documentation

◆ _MFT_ENUM_FLAG

Contains flags for registering and enumeration Media Foundation transforms (MFTs).

Enumerator
None 

None.

MFT_ENUM_FLAG_SYNCMFT 

The MFT performs synchronous data processing in software.

MFT_ENUM_FLAG_ASYNCMFT 

The MFT performs asynchronous data processing in software.

MFT_ENUM_FLAG_HARDWARE 

The MFT performs hardware-based data processing, using either the AVStream driver or a GPU-based proxy MFT.

MFT_ENUM_FLAG_FIELDOFUSE 

The MFT that must be unlocked by the application before use.

MFT_ENUM_FLAG_LOCALMFT 

For enumeration, include MFTs that were registered in the caller's process.

MFT_ENUM_FLAG_TRANSCODE_ONLY 

The MFT is optimized for transcoding rather than playback.

MFT_ENUM_FLAG_SORTANDFILTER 

For enumeration, sort and filter the results.

MFT_ENUM_FLAG_ALL 

Bitwise OR of all the flags, excluding MFT_ENUM_FLAG_SORTANDFILTER.

◆ _MFT_INPUT_STATUS_FLAGS

Indicates the status of an input stream on a Media Foundation transform (MFT).

Enumerator
None 

None.

MFT_INPUT_STATUS_ACCEPT_DATA 

The input stream can receive more data at this time.

◆ _MFT_INPUT_STREAM_INFO_FLAGS

Describes an input stream on a Media Foundation transform (MFT).

Enumerator
None 

No flags set.

MFT_INPUT_STREAM_WHOLE_SAMPLES 

Each media sample (IMFSample interface) of input data must contain complete, unbroken units of data.

MFT_INPUT_STREAM_SINGLE_SAMPLE_PER_BUFFER 

Each media sample that the client provides as input must contain exactly one unit of data, as defined for the MFT_INPUT_STREAM_WHOLE_SAMPLES flag.

MFT_INPUT_STREAM_FIXED_SAMPLE_SIZE 

All input samples must be the same size.

MFT_INPUT_STREAM_HOLDS_BUFFERS 

MTF Input Stream Holds buffers.

MFT_INPUT_STREAM_DOES_NOT_ADDREF 

The MFT does not hold input samples after the IMFTransform::ProcessInput method returns.

MFT_INPUT_STREAM_REMOVABLE 

This input stream can be removed by calling IMFTransform::DeleteInputStream.

MFT_INPUT_STREAM_OPTIONAL 

This input stream is optional.

MFT_INPUT_STREAM_PROCESSES_IN_PLACE 

The MFT can perform in-place processing.

◆ _MFT_OUTPUT_DATA_BUFFER_FLAGS

Defines flags for the IMFTransform::ProcessOutput method.

Enumerator
None 

None.

MFT_OUTPUT_DATA_BUFFER_INCOMPLETE 

The MFT can still generate output from this stream without receiving any more input.

MFT_OUTPUT_DATA_BUFFER_FORMAT_CHANGE 

The format has changed on this output stream, or there is a new preferred format for this stream.

MFT_OUTPUT_DATA_BUFFER_STREAM_END 

The MFT has removed this output stream.

MFT_OUTPUT_DATA_BUFFER_NO_SAMPLE 

There is no sample ready for this stream.

◆ _MFT_OUTPUT_STATUS_FLAGS

Indicates whether a Media Foundation transform (MFT) can produce output data.

Enumerator
None 

None.

MFT_OUTPUT_STATUS_SAMPLE_READY 

There is a sample available for at least one output stream.

◆ _MFT_OUTPUT_STREAM_INFO_FLAGS

Describes an output stream on a Media Foundation transform (MFT).

Enumerator
None 

No flags set.

MFT_OUTPUT_STREAM_WHOLE_SAMPLES 

Each media sample (IMFSample interface) of output data from the MFT contains complete, unbroken units of data.

MFT_OUTPUT_STREAM_SINGLE_SAMPLE_PER_BUFFER 

Each output sample contains exactly one unit of data, as defined for the MFT_OUTPUT_STREAM_WHOLE_SAMPLES flag.

MFT_OUTPUT_STREAM_FIXED_SAMPLE_SIZE 

All output samples are the same size.

MFT_OUTPUT_STREAM_DISCARDABLE 

The MFT can discard the output data from this output stream, if requested by the client.

MFT_OUTPUT_STREAM_OPTIONAL 

This output stream is optional.

MFT_OUTPUT_STREAM_PROVIDES_SAMPLES 

The MFT provides the output samples for this stream, either by allocating them internally or by operating directly on the input samples.

MFT_OUTPUT_STREAM_CAN_PROVIDE_SAMPLES 

The MFT can either provide output samples for this stream or it can use samples that the client allocates.

MFT_OUTPUT_STREAM_LAZY_READ 

The MFT does not require the client to process the output for this stream.

MFT_OUTPUT_STREAM_REMOVABLE 

The MFT might remove this output stream during streaming.

◆ _MFT_PROCESS_OUTPUT_FLAGS

Defines flags for processing output samples in a Media Foundation transform (MFT).

Enumerator
None 

None.

MFT_PROCESS_OUTPUT_DISCARD_WHEN_NO_BUFFER 

Do not produce output for streams in which the pSample member of the MFT_OUTPUT_DATA_BUFFER structure is NULL.

MFT_PROCESS_OUTPUT_REGENERATE_LAST_OUTPUT 

Regenerates the last output sample.

◆ _MFT_PROCESS_OUTPUT_STATUS

Process Output Status flags.

Enumerator
None 

None.

MFT_PROCESS_OUTPUT_STATUS_NEW_STREAMS 

The Media Foundation transform (MFT) has created one or more new output streams.

◆ _MFT_SET_TYPE_FLAGS

Defines flags for the setting or testing the media type on a Media Foundation transform (MFT).

Enumerator
None 

None.

MFT_SET_TYPE_TEST_ONLY 

Test the proposed media type, but do not set it.

◆ MediaEventType

See mfobjects.h.

Enumerator
MEUnknown 

Unknown event type.

MEError 

Signals a serious error.

MEExtendedType 

Custom event type.

MENonFatalError 

A non-fatal error occurred during streaming.

MESessionUnknown 

Session Unknown.

MESessionTopologySet 

Raised after the IMFMediaSession::SetTopology method completes asynchronously.

MESessionTopologiesCleared 

Raised by the Media Session when the IMFMediaSession::ClearTopologies method completes asynchronously.

MESessionStarted 

Raised when the IMFMediaSession::Start method completes asynchronously.

MESessionPaused 

Raised when the IMFMediaSession::Pause method completes asynchronously.

MESessionStopped 

Raised when the IMFMediaSession::Stop method completes asynchronously.

MESessionClosed 

Raised when the IMFMediaSession::Close method completes asynchronously.

MESessionEnded 

Raised by the Media Session when it has finished playing the last presentation in the playback queue.

MESessionRateChanged 

Raised by the Media Session when the playback rate changes.

MESessionScrubSampleComplete 

Raised by the Media Session when it completes a scrubbing request.

MESessionCapabilitiesChanged 

Raised by the Media Session when the session capabilities change.

MESessionTopologyStatus 

Raised by the Media Session when the status of a topology changes.

MESessionNotifyPresentationTime 

Raised by the Media Session when a new presentation starts.

MENewPresentation 

Raised by a media source a new presentation is ready.

MELicenseAcquisitionStart 

License acquisition is about to begin.

MELicenseAcquisitionCompleted 

License acquisition is complete.

MEIndividualizationStart 

Individualization is about to begin.

MEIndividualizationCompleted 

Individualization is complete.

MEEnablerProgress 

Signals the progress of a content enabler object.

MEEnablerCompleted 

A content enabler object's action is complete.

MEPolicyError 

Raised by a trusted output if an error occurs while enforcing the output policy.

MEPolicyReport 

Contains status information about the enforcement of an output policy.

MEBufferingStarted 

A media source started to buffer data.

MEBufferingStopped 

A media source stopped buffering data.

MEConnectStart 

The network source started opening a URL.

MEConnectEnd 

The network source finished opening a URL.

MEReconnectStart 

Raised by a media source at the start of a reconnection attempt.

MEReconnectEnd 

Raised by a media source at the end of a reconnection attempt.

MERendererEvent 

Raised by the enhanced video renderer (EVR) when it receives a user event from the presenter.

MESessionStreamSinkFormatChanged 

Raised by the Media Session when the format changes on a media sink.

MESourceUnknown 

Source Unknown.

MESourceStarted 

Raised when a media source starts without seeking.

MEStreamStarted 

Raised by a media stream when the source starts without seeking.

MESourceSeeked 

Raised when a media source seeks to a new position.

MEStreamSeeked 

Raised by a media stream after a call to IMFMediaSource::Start causes a seek in the stream.

MENewStream 

Raised by a media source when it starts a new stream.

MEUpdatedStream 

Raised by a media source when it restarts or seeks a stream that is already active.

MESourceStopped 

Raised by a media source when the IMFMediaSource::Stop method completes asynchronously.

MEStreamStopped 

Raised by a media stream when the IMFMediaSource::Stop method completes asynchronously.

MESourcePaused 

Raised by a media source when the IMFMediaSource::Pause method completes asynchronously.

MEStreamPaused 

Raised by a media stream when the IMFMediaSource::Pause method completes asynchronously.

MEEndOfPresentation 

Raised by a media source when a presentation ends.

MEEndOfStream 

Raised by a media stream when the stream ends.

MEMediaSample 

Raised when a media stream delivers a new sample.

MEStreamTick 

Signals that a media stream does not have data available at a specified time.

MEStreamThinMode 

Raised by a media stream when it starts or stops thinning the stream.

MEStreamFormatChanged 

Raised by a media stream when the media type of the stream changes.

MESourceRateChanged 

Raised by a media source when the playback rate changes.

MEEndOfPresentationSegment 

Raised by the sequencer source when a segment is completed and is followed by another segment.

MESourceCharacteristicsChanged 

Raised by a media source when the source's characteristics change.

MESourceRateChangeRequested 

Raised by a media source to request a new playback rate.

MESourceMetadataChanged 

Raised by a media source when it updates its metadata.

MESequencerSourceTopologyUpdated 

Raised by the sequencer source when the IMFSequencerSource::UpdateTopology method completes asynchronously.

MESinkUnknown 

Sink Unknown.

MEStreamSinkStarted 

Raised by a stream sink when it completes the transition to the running state.

MEStreamSinkStopped 

Raised by a stream sink when it completes the transition to the stopped state.

MEStreamSinkPaused 

Raised by a stream sink when it completes the transition to the paused state.

MEStreamSinkRateChanged 

Raised by a stream sink when the rate has changed.

MEStreamSinkRequestSample 

Raised by a stream sink to request a new media sample from the pipeline.

MEStreamSinkMarker 

Raised by a stream sink after the IMFStreamSink::PlaceMarker method is called.

MEStreamSinkPrerolled 

Raised by a stream sink when the stream has received enough preroll data to begin rendering.

MEStreamSinkScrubSampleComplete 

Raised by a stream sink when it completes a scrubbing request.

MEStreamSinkFormatChanged 

Raised by a stream sink when the sink's media type is no longer valid.

MEStreamSinkDeviceChanged 

Raised by the stream sinks of the EVR if the video device changes.

MEQualityNotify 

Provides feedback about playback quality to the quality manager.

MESinkInvalidated 

Raised when a media sink becomes invalid.

MEAudioSessionNameChanged 

The audio session display name changed.

MEAudioSessionVolumeChanged 

The volume or mute state of the audio session changed.

MEAudioSessionDeviceRemoved 

The audio device was removed.

MEAudioSessionServerShutdown 

The Windows audio server system was shut down.

MEAudioSessionGroupingParamChanged 

The grouping parameters changed for the audio session.

MEAudioSessionIconChanged 

The audio session icon changed.

MEAudioSessionFormatChanged 

The default audio format for the audio device changed.

MEAudioSessionDisconnected 

The audio session was disconnected from a Windows Terminal Services session.

MEAudioSessionExclusiveModeOverride 

The audio session was preempted by an exclusive-mode connection.

METrustUnknown 

Trust Unknown.

MEPolicyChanged 

The output policy for a stream changed.

MEContentProtectionMessage 

Content protection message.

MEPolicySet 

The IMFOutputTrustAuthority::SetPolicy method completed.

MEWMDRMLicenseBackupCompleted 

DRM License Backup Completed.

MEWMDRMLicenseBackupProgress 

DRM License Backup Progress.

MEWMDRMLicenseRestoreCompleted 

DRM License Restore Completed.

MEWMDRMLicenseRestoreProgress 

DRM License Restore Progress.

MEWMDRMLicenseAcquisitionCompleted 

DRM License Acquisition Completed.

MEWMDRMIndividualizationCompleted 

DRM Individualization Completed.

MEWMDRMIndividualizationProgress 

DRM Individualization Progress.

MEWMDRMProximityCompleted 

DRM Proximity Completed.

MEWMDRMLicenseStoreCleaned 

DRM License Store Cleaned.

MEWMDRMRevocationDownloadCompleted 

DRM Revocation Download Completed.

METransformUnknown 

Transform Unknown.

METransformNeedInput 

Sent by an asynchronous MFT to request a new input sample.

METransformHaveOutput 

Sent by an asynchronous MFT when new output data is available from the MFT.

METransformDrainComplete 

Sent by an asynchronous Media Foundation transform (MFT) when a drain operation is complete.

METransformMarker 

Sent by an asynchronous MFT in response to an MFT_MESSAGE_COMMAND_MARKER message.

◆ MF_SOURCE_READER_FLAG

Contains flags that indicate the status of the IMFSourceReader::ReadSample method http://msdn.microsoft.com/en-us/library/windows/desktop/dd375773(v=vs.85).aspx.

Enumerator
None 

No Error.

MF_SOURCE_READERF_ERROR 

An error occurred. If you receive this flag, do not make any further calls to IMFSourceReader methods.

MF_SOURCE_READERF_ENDOFSTREAM 

The source reader reached the end of the stream.

MF_SOURCE_READERF_NEWSTREAM 

One or more new streams were created.

MF_SOURCE_READERF_NATIVEMEDIATYPECHANGED 

The native format has changed for one or more streams. The native format is the format delivered by the media source before any decoders are inserted.

MF_SOURCE_READERF_CURRENTMEDIATYPECHANGED 

The current media has type changed for one or more streams. To get the current media type, call the IMFSourceReader::GetCurrentMediaType method.

MF_SOURCE_READERF_STREAMTICK 

There is a gap in the stream. This flag corresponds to an MEStreamTick event from the media source.

MF_SOURCE_READERF_ALLEFFECTSREMOVED 

All transforms inserted by the application have been removed for a particular stream.

◆ MFT_MESSAGE_TYPE

Defines messages for a Media Foundation transform (MFT).

Enumerator
MFT_MESSAGE_COMMAND_FLUSH 

Requests the MFT to flush all stored data.

MFT_MESSAGE_COMMAND_DRAIN 

Requests the MFT to drain any stored data.

MFT_MESSAGE_SET_D3D_MANAGER 

Sets or clears the Direct3D Device Manager for DirectX Video Accereration (DXVA).

MFT_MESSAGE_DROP_SAMPLES 

Drop samples - requires Windows 7.

MFT_MESSAGE_COMMAND_TICK 

Command Tick - requires Windows 8.

MFT_MESSAGE_NOTIFY_BEGIN_STREAMING 

Notifies the MFT that streaming is about to begin.

MFT_MESSAGE_NOTIFY_END_STREAMING 

Notifies the MFT that streaming is about to end.

MFT_MESSAGE_NOTIFY_END_OF_STREAM 

Notifies the MFT that an input stream has ended.

MFT_MESSAGE_NOTIFY_START_OF_STREAM 

Notifies the MFT that the first sample is about to be processed.

MFT_MESSAGE_COMMAND_MARKER 

Marks a point in the stream. This message applies only to asynchronous MFTs. Requires Windows 7.