winegstreamer: Implement ::ProcessMessage for audio conversion MFT.

Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Derek Lesho 2020-12-02 17:36:35 -05:00 committed by Alexandre Julliard
parent 8e6a4b239a
commit c7345a51f7
1 changed files with 9 additions and 2 deletions

View File

@ -326,9 +326,16 @@ static HRESULT WINAPI audio_converter_ProcessEvent(IMFTransform *iface, DWORD id
static HRESULT WINAPI audio_converter_ProcessMessage(IMFTransform *iface, MFT_MESSAGE_TYPE message, ULONG_PTR param)
{
FIXME("%p, %u %lu.\n", iface, message, param);
TRACE("%p, %u %lu.\n", iface, message, param);
return E_NOTIMPL;
switch(message)
{
case MFT_MESSAGE_NOTIFY_START_OF_STREAM:
return S_OK;
default:
FIXME("Unhandled message type %x.\n", message);
return E_NOTIMPL;
}
}
static HRESULT WINAPI audio_converter_ProcessInput(IMFTransform *iface, DWORD id, IMFSample *sample, DWORD flags)