Example #1
0
 public static IMFMediaSource MFCreateDeviceSource(IMFAttributes attributes)
 {
     MFCreateDeviceSource(attributes, out IMFMediaSource mediaSource).CheckError();
     return(mediaSource);
 }
Example #2
0
 public static IMFMediaSink MFCreateAudioRenderer(IMFAttributes audioAttributes)
 {
     MFCreateAudioRenderer(audioAttributes, out IMFMediaSink sink).CheckError();
     return(sink);
 }
Example #3
0
 public static IMFMediaSession MFCreateMediaSession(IMFAttributes configuration)
 {
     MFCreateMediaSession(configuration, out IMFMediaSession session).CheckError();
     return(session);
 }