0

I want to implement a Virtual Audio Capture filter.

1- Each audio sample write in Memory Mapped File on another filter graph.

2- In Audio filter, and inside of FillBuffer method Shared Memory read and copy on pSample

3- My problem has shown in the following image: enter image description here

While Buffer info duration should be 33ms, it is 1088 ms.

What is wrong? and what I need to change and update?

Thanks for any help or hints.

H.Gh
  • 306
  • 2
  • 16
  • I assume that's just the rendering filter (which has its own internal buffer)? – rogerdpack Sep 23 '15 at 13:41
  • 1
    This is the response from renderer to behavior of your filter. If you are not happy with it, you should check (a) allocator properties, and (b) properties of media samples you are delivering from your filter/pin. If they don't answer your question immediately, you can update here with this additional data. – Roman R. Sep 23 '15 at 15:10
  • Thanks Roman, your recommendation was very helpful. I'm working on it and back very soon with updates. – H.Gh Sep 25 '15 at 08:34
  • rogerpack, No, it is a Virtual Audio Capture filter. and it's buffer filled from another directshow process. – H.Gh Sep 25 '15 at 08:37
  • Thanks again Roman, with your help I could resolve duration delay issue. But another problem is a noise on audio output. are you have any direction for it? Thanks – H.Gh Sep 26 '15 at 06:29

0 Answers0