Article View: borland.public.cppbuilder.multimedia
Article #290Re: custom writer sink problem
From: Jonathan Benedicto
Date: Mon, 03 Jan 2005 18:49
Date: Mon, 03 Jan 2005 18:49
35 lines
2223 bytes
2223 bytes
I am building the sink to do specialized audio transfer between computers. QueryInterface requests IWMWriterFileSink3 both times it is called. So do you think that I should derive my custom sink from IWMWriterFileSink or IWMWriterNetworkSink or IWMWriterPushSink ? -- Jonathan "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:41d99265$1@newsgroups.borland.com... > > "Jonathan Benedicto" <incorrect@no.server> wrote in message > news:41d98468@newsgroups.borland.com... > >> I found out that the QueryInterface is requesting >> IID_IWMWriterFileSink3. So I just return E_NOINTERFACE. > > That makes sense. According to the documentation, the Media SDK only > supports File, Network, and Push sinks. Even for a custom sink, it would > appear that you need to implement one of those three types. Which means > implementing either IWMWriterFileSink/2/3, IWMWriterNetworkSink, or > IWMWriterPushSink in addition to the base IWMWriterSink interface. > > Is IID_IWMWriterFileSink3 being requested both times QueryInterface() is > called? > > What exactly do you need your custom sink to do in the first place? You > never did explain that part yet. > > > Gambit > >
Technical Details
Message-ID:
<41d993a0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41d5ae65$1@newsgroups.borland.com> <41d70359$1@newsgroups.borland.com> <41d98468@newsgroups.borland.com> <41d99265$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,e2e3d27f003f4ca5 X-Google-Attributes: gid10d0fc,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jonathan Benedicto" <incorrect@no.server> Newsgroups: borland.public.cppbuilder.multimedia References: <41d5ae65$1@newsgroups.borland.com> <41d70359$1@newsgroups.borland.com> <41d98468@newsgroups.borland.com> <41d99265$1@newsgroups.borland.com> Subject: Re: custom writer sink problem Date: Mon, 3 Jan 2005 13:49:06 -0500 Lines: 37 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 64.231.16.86 Message-ID: <41d993a0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1104778144 64.231.16.86 (3 Jan 2005 10:49:04 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail