Enum SourceReaderFlags
- Namespace
- NAudio.MediaFoundation
- Assembly
- NAudio.Wasapi.dll
Contains flags that indicate the status of the IMFSourceReader ReadSample method.
[Flags]
public enum SourceReaderFlags
Fields
AllEffectsRemoved = 512All transforms inserted by the application have been removed for a particular stream.
MF_SOURCE_READERF_ALLEFFECTSREMOVED
CurrentMediaTypeChanged = 32The current media type has changed for one or more streams.
MF_SOURCE_READERF_CURRENTMEDIATYPECHANGED
EndOfStream = 2The source reader reached the end of the stream.
MF_SOURCE_READERF_ENDOFSTREAM
Error = 1An error occurred. If you receive this flag, do not make any further calls to IMFSourceReader methods.
MF_SOURCE_READERF_ERROR
NativeMediaTypeChanged = 16The native format has changed for one or more streams.
MF_SOURCE_READERF_NATIVEMEDIATYPECHANGED
NewStream = 4One or more new streams were created.
MF_SOURCE_READERF_NEWSTREAM
None = 0No flags set.
StreamTick = 256There is a gap in the stream. This flag corresponds to an MEStreamTick event from the media source.
MF_SOURCE_READERF_STREAMTICK
Remarks
Windows SDK name: MF_SOURCE_READER_FLAG.
Defined in mfreadwrite.h.
See MS Learn.