|
|
I have some trouble with setting media format of Windows Media Audio 9 codec. I’m building graph and after adding an audio source, audio compressor (Windows Media Audio 9 or Windows Media Audio 10 Professional - WMAudio Encoder DMO) and connecting source to compressor I’m trying to change media type of output pin of the compressor – I’m using a GetMediaTypes method of output pin of the compressor and after that I’m trying to change to one if the returned formats but I always have a ‘pin cannot use the supplied media type’ exception (HRESULT: 0x8004022A) – when I’m using WM Speech Encoder DMO everything is ok, but with WMA 9.2 or WMA 10 I’m getting this error for all kind off avalible formats. --
|
|
|