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 |
|
|
Library |
|
|
DLL |
|
See also
Show: