Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a WAVE archive sink. The WAVE archive sink takes audio and writes it to an .wav file.
Syntax
HRESULT MFCreateWAVEMediaSink(
[in] IMFByteStream *pTargetByteStream,
[in] IMFMediaType *pAudioMediaType,
[out] IMFMediaSink **ppMediaSink
);
Parameters
[in] pTargetByteStream
Pointer to the byte stream that will be used to write the .wav file.
[in] pAudioMediaType
Pointer to the audio media type.
[out] ppMediaSink
Receives a pointer to the IMFMediaSink interface. The caller must release this interface.
Return value
None
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8.1 [desktop apps only] |
| Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
| Target Platform | Windows |
| Header | mfidl.h |
| Library | Mf.lib |
| DLL | Mf.dll |