Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MFCreateWAVEMediaSink function

Creates an WAVE archive sink. The WAVE archive sink takes audio and writes it to an .wav file.

Syntax


 WINAPI MFCreateWAVEMediaSink(
  _In_  IMFByteStream *pTargetByteStream,
  _In_  IMFMediaType  *pAudioMediaType,
  _Out_ IMFMediaSink  **ppMediaSink 
);

Parameters

pTargetByteStream [in]

Pointer to the byte stream that will be used to write the .wav file.

pAudioMediaType [in]

Pointer to the audio media type.

ppMediaSink [out]

Receives a pointer to the IMFMediaSink interface. The caller must release this interface.

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Mfidl.h

Library

Mf.lib

DLL

Mf.dll

See also

Media Foundation Functions

 

 

Show:
© 2017 Microsoft