[wdmaudiodev] Re: stereo audio input

  • From: "Sam Tertzakian" <sam@xxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Wed, 22 Mar 2006 14:12:15 -0800

Oh, then there must be a problem with the driver. I have several drivers
that allow a device to opened in stereo mode.

I think there are three places where there could be a problem:

1. Are you sure that your KSDATARANGE_AUDIO is defined properly?

KSDATARANGE_AUDIO PinDataRangesStream[] =
{
        {
                {
                        sizeof(KSDATARANGE_AUDIO),
                        0,
                        0,
                        0,
                        STATICGUIDOF(KSDATAFORMAT_TYPE_AUDIO),
                        STATICGUIDOF(KSDATAFORMAT_SUBTYPE_PCM),
                        STATICGUIDOF(KSDATAFORMAT_SPECIFIER_WAVEFORMATEX)
                },

                2,              // Max number of channels.
                8,              // Minimum number of bits per sample.
                16,             // Maximum number of bits per channel.
                SAMPLERATE_MIN,
                SAMPLERATE_MAX
        }
};

2. Check the DataIntersection function.

3. Check the SetFormat function.

Check any where in your code where the number of channels is used.

Those are my ideas...but, I can tell you this...For certain I have several
drivers that open stereo input devices that are working in Vista. I think
just knowing it works is 50% of the battle.

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Who Cares
Sent: Wednesday, March 22, 2006 1:55 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: stereo audio input

Well, the waveInGetDevCaps reports my devise as a mono devise (used to be 
stereo on XP) - an attempt to waveInOpen it as a stereo failes, and when I 
connected my device to a stereo renderer in the graphedit , it was still 
opened as a mono device


>From: "Sam Tertzakian" <sam@xxxxxxxxxxx>
>Reply-To: wdmaudiodev@xxxxxxxxxxxxx
>To: <wdmaudiodev@xxxxxxxxxxxxx>
>Subject: [wdmaudiodev] Re: stereo audio input
>Date: Wed, 22 Mar 2006 13:33:27 -0800
>
>What application are you using to record?
>It sounds to me like the user mode application is opening your device in
>mono mode? Are you using Cooledit or and application that you can
>deliberately set the format to stereo?
>
>-----Original Message-----
>From: wdmaudiodev-bounce@xxxxxxxxxxxxx
>[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Who Cares
>Sent: Wednesday, March 22, 2006 1:28 PM
>To: wdmaudiodev@xxxxxxxxxxxxx
>Subject: [wdmaudiodev] Re: stereo audio input
>
>
>Sorry for annoying, but I repeat my question rephrased - Is it possible in
>Vista to expose a "stereo" microphone?
>
>
> >From: "Who Cares" <universalkludge@xxxxxxxxxxx>
> >Reply-To: wdmaudiodev@xxxxxxxxxxxxx
> >To: wdmaudiodev@xxxxxxxxxxxxx
> >Subject: [wdmaudiodev] stereo audio input
> >Date: Tue, 21 Mar 2006 19:32:01 +0000
> >
> >Hi,
> >
> >I created the capture AVStream mini-driver and provided it with the data
> >range that specifies maximum of 2 channels, but despite this fact, 
>Windows
> >(Vista) always creates the one channel source. Is there any way to force
> >Windows to create the stereo source?
> >
> >TIA
> >Andrew
> >
> >
> >******************
> >
> >WDMAUDIODEV addresses:
> >Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> >Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> >Unsubscribe:  
>mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> >Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
> >
> >URL to WDMAUDIODEV page:
> >http://www.wdmaudiodev.com/
> >
>
>
>******************
>
>WDMAUDIODEV addresses:
>Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
>Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
>Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
>Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
>
>URL to WDMAUDIODEV page:
>http://www.wdmaudiodev.com/
>
>******************
>
>WDMAUDIODEV addresses:
>Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
>Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
>Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
>Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
>
>URL to WDMAUDIODEV page:
>http://www.wdmaudiodev.com/
>


******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: