CSourceStream filter

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I have been trying very hard to complete a CSourceStream filter but have a
problem. I can get it to play just fine. If I pause the graph while using it
then
SetPosition to the start to play again it looks like the output is stuck in
a cache.
If I hit call Setposition about 6 times it finally seems to set the position
back to 0.
I cant seem to clear the internal graph cache.
I used an example from a book an added calls to
DeliverBeginFlush()
CSourceStream::Stop()
DeliverEndFlush();
then
CSourceStream::Pause()

This does nothing. So I am out of ideas. It seems like
I am fighting and internal cache and I dont know how to flush it.
FYI
I have checked my FillBuffer and it is loading the right frame of data.

--
Thanks,
Bob
.



Relevant Pages

  • buffer/vm cache, turn off for a specific file ?
    ... What seems to happen is that the OS, linux, caches each ... Is there any way to ask the system to *not* to cache a file after ... still happen with a local file system. ... so it is not really practical to play with kernel options ...
    (comp.unix.programmer)
  • Re: PowerBook 15" - strange problems
    ... >take it to the nearest Apple dealer, and ask them to play with the RAM... ... cache on it and would frequently kernel panic after going to sleep. ... frozen iTunes display. ...
    (comp.sys.mac.portables)
  • Re: Saving cached QuickTime movies
    ... which I can certainly play offline. ... What version of QuickTime are you using? ... QuickTime 7 cache files seem to ... I didn't get anything out of the cache, ...
    (uk.comp.sys.mac)
  • Re: How to tell if an interface method has been implemented
    ... to cache that information - indeed, you might end up putting objects which only had stub implementations into a different collection, etc. ... But as soon as any kind of more complicated lookup comes into play, such as using collections of any kind, I can't believe you'll actually save time compared to just calling the method. ...
    (microsoft.public.dotnet.general)