How Can I use the voice capture DMO (Microphone Array Function)

Hello All,

I am developing an application about using Microphone Array function via the voice capture DMO to make an audio file.

And I encounter some problems as below, could anybody help me to clarify it


1. Is it possible to use the voice capture DMO in DirectShow by using the wrapper filter I have created an AEC filter (CLSID_CWMAudioAEC) by wrapper filter in DirectShow and render to a file, but it doesn't work (No output data generated). How can I do to overcome this problem

2. I have used “AECMicArray” sample to record the audio file, and it produces a .pcm flie. I have a question that how can I do to play this file I have tried to write the wave header manually and it is playable. However, writing header manually does not make sense to me. Does anybody know what APIs can do it

3. I have used AddToRot function to register the graph and it can be shown on GraphEdit in WinXP, but this appraoch is fail in Vista. Does anybody know where can I get a new version of GraphEdit to overcome this problems

4. Could you show me how to write a filter mode voice capture DMO and where can I find the sample code



Answer this question

How Can I use the voice capture DMO (Microphone Array Function)

  • JIM.H.

    I have answered this question here:

    http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1056800&SiteID=1

    ----------------------------------------------------------------------------
    Mike Wasson, DirectShow SDK Documentation
    This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.

    (c) 2006 Microsoft Corporation. All rights reserved.



  • How Can I use the voice capture DMO (Microphone Array Function)