Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

WavSource doesn't work?

$
0
0

Hi all,

I am trying to make the MF WavSource sample to work.

I can compile it with not problem and I am sure it is registred correctly.

However, when I try to load a wav file (with .xyz extension) using BasicPlayback or TopoEdit, I get the error "failed to create source node.The byte stream type of the given URL is unsupported."

I enabled the error reports to debug and I got :

Source Resolver Context(0x7d83d70) Trying Byte Scheme Handler CLSID("WAVE Source ByteStreamHandler")
Source Resolver Context(0x7d83d70) Byte stream Handler Result 0x80040111       ????
Source Resolver Context(0x7d83d70) SchemeHandler Result 0xC00D36C4      (which is MF_E_UNSUPPORTED_BYTESTREAM_TYPE)

I got this error either in pure C++ or in the MediaFoundation.net sample and I am on Windows 10 x64.

Any idea?


Viewing all articles
Browse latest Browse all 1079

Trending Articles