[wdmaudiodev] Re: AVStream and Wave Devices

  • From: "Sam Tertzakian" <sam@xxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 3 Oct 2005 16:54:23 -0700

Hi, 

I have this (but I have also tried various variations, such as removing the
"*NTKERN" entry: (Sorry I had to remove some of the identifying information.
As for the Bus...I should not say what it is, except to say that it is a
real piece of hardware that the PnP manager finds...however, it is not PCI.)

I tried removing the mixer, midi, and aux and whatnot. I tried several
variations. I think I tried *all* the variations. Right now, I have 100
monkeys in the other room randomly typing INF files to see I can get better
results than I have been getting. Meanwhile...I am trying to get the
sysaudio checked build up and running...for various reasons, that has been a
bit time consuming but, I am getting there. I am very curious to see the
sysaudio log. I should have done that before I bought all these damned
monkeys.

[XXX.nt]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration.NT, WDMAUDIO.Registration.NT
CopyFiles=XXX.CopyFiles
AddReg=XXX.AddReg

[XXX.nt.Services]
AddService=XXX, 0x00000002, XXX.ServiceInstall

[XXX.ServiceInstall]
DisplayName=%DISPLAY_NAME%
Description=%SERVICE_DESCRIPTION%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_SYSTEM_START%
ErrorControl=%SERVICE_ERROR_IGNORE%
ServiceBinary=%12%\XXX.sys

[XXX.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"XXX.sys,sbemul.sys"
HKR,,FriendlyName,,%XXX.AnlgAudioCaptureName%
HKR,,AssociatedFilters,,"wdmaud,redbook"
HKR,,Driver,,XXX.SYS
HKR,,CLSID,,%KSProxy.CLSID%
HKR,Drivers,SubClasses,,"wave,midi,mixer,aux"
HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\aux\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,"XXX Audio"
HKR,Drivers\midi\wdmaud.drv,Description,,"XXX Audio"
HKR,Drivers\mixer\wdmaud.drv,Description,,"XXX Audio"
HKR,Drivers\aux\wdmaud.drv,Description,,"XXX Audio"

 [XXX.nt.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%XXX_FILTER_REF_GUID%,XXX.AnlgACapture
AddInterface=%KSCATEGORY_CAPTURE%,%XXX_FILTER_REF_GUID%,XXX.AnlgACapture
AddInterface=%KSCATEGORY_RENDER%,%XXX_FILTER_REF_GUID%,XXX.AnlgACapture
AddInterface=%KSCATEGORY_TOPOLOGY%,%XXX_FILTER_REF_GUID%,XXX.AnlgACapture

[XXX.AnlgACapture]
AddReg=XXX.AnlgACapture.AddReg

[XXX.AnlgACapture.AddReg]
HKR,,CLSID,,%KSProxy.CLSID%
HKR,,FriendlyName,,%XXX.AnlgAudioCaptureName%

[Strings]
KSProxy.CLSID           = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_AUDIO= "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_CAPTURE= "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_RENDER= "{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_TOPOLOGY= "{DDA54A40-1E4C-11D1-A050-405705C10000}"
XXX_FILTER_REF_GUID     = "XXXX0"

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Michael Stearman
Sent: Monday, October 03, 2005 3:02 PM
To: 'wdmaudiodev@xxxxxxxxxxxxx'
Subject: [wdmaudiodev] Re: AVStream and Wave Devices

Sam,
Do you have the following lines in your INF file?

[Driver_NT_AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,XXX.sys
HKR,,AssociatedFilters,,"wdmaud"
HKR,Drivers,SubClasses,,"wave,mixer"
HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv, Description,,"XXX Audio Capture"
HKR,Drivers\mixer\wdmaud.drv,Description,,"XXX Audio Mixer"

-----Original Message-----
From: Sam Tertzakian [mailto:sam@xxxxxxxxxxx] 
Sent: Monday, October 03, 2005 4:27 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: AVStream and Wave Devices

Well, I tried this pin on several versions of my driver and it still does
not seem to work. I have several version that have different combinations
registering in the code as opposed to the inf and a couple of other
variables.

Thank you for your time...and if you have any other ideas, definitely let me
know.

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Michael Stearman
Sent: Monday, October 03, 2005 2:10 PM
To: 'wdmaudiodev@xxxxxxxxxxxxx'
Subject: [wdmaudiodev] Re: AVStream and Wave Devices

Sam,

I had the same problem a while ago.  Try using the following capture pin
descriptor:

        // Audio Capture Pin: AUDIO_PIN_CAPTURE
        //
        {
                &AudioCapturePinDispatch,
                NULL,
                { 
                        NULL,
                        0,                      
                        NULL,
                        0,
                        SIZEOF_ARRAY( AudioCapturePinDataRanges ),
                        AudioCapturePinDataRanges,              
                        KSPIN_DATAFLOW_OUT,                 
                        KSPIN_COMMUNICATION_BOTH,           
                        &PINNAME_CAPTURE,                  
                        &PINNAME_CAPTURE,           
                        0                                   
                },
                KSPIN_FLAG_PROCESS_IN_RUN_STATE_ONLY |
                        KSPIN_FLAG_FIXED_FORMAT,
                1,                                      
                0,                                      
                &AudioDefaultAllocatorFraming,          
                reinterpret_cast <PFNKSINTERSECTHANDLEREX> 
                        (CAudioPin::IntersectHandler)
        },

-----Original Message-----
From: Sam Tertzakian [mailto:sam@xxxxxxxxxxx] 
Sent: Monday, October 03, 2005 4:04 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: AVStream and Wave Devices

Hi, 
Thank you for your offer...Let me first try the checked build of Sysaudio
and see what that tells me. I should have tried that before.
If I cannot get it work, then I will decide which version of the inf to send
you.

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Matt Gonzalez
Sent: Monday, October 03, 2005 1:46 PM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: AVStream and Wave Devices

Hi Sam-

I see that you've posted your pin descriptors; why don't you go ahead 
and post the rest of your filter descriptor along with your INF file.  
I'll take a look.

Matt

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

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/

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

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: