Graph fails to play with various filters downstream from the vorbis encoder filter
First of all, nice to see that the DS filter development is active :) I remember trying to construct a "vorbis encoder - vorbis decoder" graph a while back and that the filters were unable to connect to one another.
Please excuse this post if this is the wrong place to raise this issue:
Building an
audio source -> vorbis encoder -> vorbis decoder -> renderer
graph worked perfectly. However inserting a sample grabber between the encoder and decoder caused the graph to not play. Inserting a different CTransInPlaceFilter derived filter instead of the sample grabber yielded the same result, even when using a no decoder and a null renderer.
Two questions:
-
Is there a reason why the decoder required information is not included as part of the media type format info during the connection process, rather than using custom interfaces which the downstream filter has to implement? In VorbisEncodeOutputPin::CompleteConnect it looks like the IID_IOggDecoder interface is queried to communicate the codec headers to the downstream filter.
-
I tried some further debugging, but after building the application I am unable to register the encoder filter: "Error: The Side-by-Side configuration information for "d:\svn_projects\oggdsf\sln\oggdsf_vs2008\win32\debug\DSFVORBISENCODER.DLL" contains errors. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail (14001)."
This happens on two development machines which both have VS2008 installed. Using depends.exe it looks like MSVCP90D.dll and MSVCR90D.DLL can't be found for some reason. I am not new to working with DS filters but haven't encountered this error before, at least not on a dev machine. Any ideas why I'm getting this error?
Being able to insert various filters after the encoder is crucial in our application, which tries to grab a copy of each encoded sample as it passes through the graph.