TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Microsoft Device Drivers

Notices

Reply
 
Thread Tools Display Modes
Old 29-11-2007, 05:50 PM   #1
Andrew Sha
Guest
 
Posts: n/a
AV Stream renderer

Hi All,

The situation:

I wrote a virtual filter-centric AV Stream renderer and it works fine in the
graphedit - I feed it from the WM ASF reader; I can see arriving frames in
my Process callback- the renderer swallows them by setting BytesUsed =
BytesAvailable - everything is ok,
But when I access this renderer by the waveOutOpen function and as soon as I
submit the only buffer by the waveOutWrite function, my Process callback is
called in endless loop, it seems like the same frame is delivered again and
again and again.
Any ideas why it happens?
What the difference between these two cases?

TIA
Andrew


  Reply With Quote
Old 29-11-2007, 05:55 PM   #2
Max Paklin
Guest
 
Posts: n/a
Re: AV Stream renderer

What does your Process callback return?
Do you advance stream pointers?
What is the type of the stream that you create? Is it identical in the two
tests that you are running? If not, what's the difference?
Is the format of the stream negotiated dynamically after the connection has
been made?

-- Max.


"Andrew Sha" <universalkludge@hotmail.com> wrote in message
news:e$WhNuA0FHA.3856@tk2msftngp13.phx.gbl...
> Hi All,
>
> The situation:
>
> I wrote a virtual filter-centric AV Stream renderer and it works fine in
> the graphedit - I feed it from the WM ASF reader; I can see arriving
> frames in my Process callback- the renderer swallows them by setting
> BytesUsed = BytesAvailable - everything is ok,
> But when I access this renderer by the waveOutOpen function and as soon as
> I submit the only buffer by the waveOutWrite function, my Process callback
> is called in endless loop, it seems like the same frame is delivered again
> and again and again.
> Any ideas why it happens?
> What the difference between these two cases?
>
> TIA
> Andrew
>
>



  Reply With Quote
Reply

Thread Tools
Display Modes


Google
 


All times are GMT +5.5. The time now is 12:22 AM.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2008, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional