AVSSamp as default audio device

device driver

    Sponsored Links

    Next

  • 1. FS filter driver post create
    I am trying to scan files in user land when a file write happens to a USB drive. My FS filter is attached to the drive I am interested in. When I copy a file to the drive and capture the windbg log, I see that for every copy, post cretae() is invoked multiple times. Why is this the case?
  • 2. Suche Gespr鋍hspartner zur Drucker Treibertreiberenticklung
    Hallo Kai, > wer hat Interesse sich mit mir zum Thema Druckertreiberentwicklung > auszutauschen? Ganz allgemein solltest Du beachten dass das eine engischsprachige Gruppe ist. Auf Deutsch wirst Du da keine Antworten bekommen. Das Thema ist schon recht speziell. Also solltest Du auf Englisch wechseln. Dann bekommst Du hier ggf. auch Antworten. Ansonsten we auch die ntdev Mailinglist auf osr.com ein guter Tipp. GP P.S.: I just told him that this is an english group, and he won't get answers on german posts. ;-)
  • 3. USB drive details.
    Hi all, i am trying to get some windows api which can find and return USB mass storage details like serial number and name etc which it displayes in device manager list. is there any way by which we can find? lets say my device is mounted as F:\ and i get the handle of F: using createfile. Then use an ioctl call to get the details of the storage media? if anybody know it then please reply, Thanks, Hitesh
  • 4. RNDIS generic driver is loaded but not working
    I load the RNDIS (Microsoft supplied) drivers on WinXP. The INF file was previously (and automatically) copied to Windows\INF directory as "oem14.inf". When I plug-in the device, in the Device Manager, I see 2 devices like "RNDIS Gadget" & "RNDIS Gadget #2". Both of them give "The device can not start. (Code 10)". The USB device never gets the RNDIS_INITIALIZE_MSG message. In fact, after lots of GetDesc , SetAddr and more GetDesc, the last control message it receives is GetDescriptor (String type) which was successfull. What to do next to debug it ? Thanks In Advance...

AVSSamp as default audio device

Postby Eddie Hoffman » Sat, 02 Oct 2004 00:41:03 GMT

Does anybody know how to get the AVStream DDK samples (i.e. avsamp, avshws)
to appear as choices for default audio devices?  I'd really like to make
them user-selectable but they do not show up on the Audio Control Panel.

Thanks,
Eddie



RE: AVSSamp as default audio device

Postby richfr_nospam » Sat, 02 Oct 2004 05:30:13 GMT

I'm looking into this.

-Rich
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 I'm looking into this.
\par 
\par -Rich
\par }

RE: AVSSamp as default audio device

Postby richfr_nospam » Sat, 02 Oct 2004 05:53:05 GMT

The driver is properly registering, but when SysAudio queries it, it is 
finding something it doesn't like. I'll need to install the debug build of 
sysaudio and look at the dbg spew to determine what is going on.
 
Thanks,
-Rich
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 The driver is properly registering, but when SysAudio queries it, it is finding something it doesn't like. I'll need to install the debug build of sysaudio and look at the dbg spew to determine what is going on.
\par  
\par Thanks,
\par -Rich
\par 
\par }

Re: AVSSamp as default audio device

Postby Igor Slewsarev » Tue, 05 Oct 2004 18:15:22 GMT

1. First try to add KSCATEGORY_AUDIO for
    avssamp filter categories.
2. If I'm not mistaken an audio capture pin should have
    PINNAME_CAPTURE GUID as a name (and currently
    a video output pin has this name);
Hope this could help
Igor. 



RE: AVSSamp as default audio device

Postby richfr_nospam » Wed, 06 Oct 2004 03:13:29 GMT

I'm getting the following error message from SysAudio:

       sysaudio: EnumerateTopologyPin: AVSSamp Device bad 'from' pin number 
00000000

I'm going to take a look at the topology and see if I can see what is not 
liked.

Thanks,
Rich
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 I'm getting the following error message from SysAudio:
\par 
\par        sysaudio: EnumerateTopologyPin: AVSSamp Device bad 'from' pin number 00000000
\par 
\par I'm going to take a look at the topology and see if I can see what is not liked.
\par 
\par Thanks,
\par Rich
\par 
\par }

RE: AVSSamp as default audio device

Postby richfr_nospam » Fri, 08 Oct 2004 00:55:21 GMT

I had to tweak the topology a bit to get this to work. First, I added a 
node between pins 2 and 3. SysAudio does not like ksfilter_node pin 
connections without at least 1 node between them. Also, Sysaudio expects on 
internal nodes such as the volume node for input node to be id 1 and output 
node to be id 0. The below incorporates those two issues and allows the 
driver you provided to appear in the control panel.
 
 
KSNODE_DESCRIPTOR
KsNodeDescriptors[] =
{
    DEFINE_NODE_DESCRIPTOR( NULL, &VolumeNodeType, NULL ),
    DEFINE_NODE_DESCRIPTOR( NULL, &VolumeNodeType, NULL )
};
 
const
KSTOPOLOGY_CONNECTION
KsConnections[] =
{
    { KSFILTER_NODE, 1, 0, 1 },
    { 0, 0, KSFILTER_NODE, 0 },
      { KSFILTER_NODE, 2, 1,1},
      {1,0,KSFILTER_NODE,  3}
};
 
-Rich
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 I had to tweak the topology a bit to get this to work. First, I added a node between pins 2 and 3. SysAudio does not like ksfilter_node pin connections without at least 1 node between them. Also, Sysaudio expects on internal nodes such as the volume node for input node to be id 1 and output node to be id 0. The below incorporates those two issues and allows the driver you provided to appear in the control panel.
\par  
\par  
\par KSNODE_DESCRIPTOR
\par KsNodeDescriptors[] =
\par \{
\par     DEFINE_NODE_DESCRIPTOR( NULL, &VolumeNodeType, NULL ),
\par     DEFINE_NODE_DESCRIPTOR( NULL, &VolumeNodeType, NULL )
\par \};
\par  
\par const
\par KSTOPOLOGY_CONNECTION
\par KsConnections[] =
\par \{
\par     \{ KSFILTER_NODE, 1, 0, 1 \},
\par     \{ 0, 0, KSFILTER_NODE, 0 \},
\par       \{ KSFILTER_NODE, 2, 1,1\},
\par       \{1,0,KSFILTER_NODE,  3\}
\par \};
\par  
\par -Rich
\par 
\par }

Similar Threads:

1.problem with installing avssamp to audio capture sources category

Hi all!

DDK Build 3790.
is it possible to do this ? this sample has a dynamically created audio pin. 
Why i can't register it in audio sources Dshow Category? what i need to 
modify (filter.cpp) or *.inf  file ?

2.How to Set default audio device?

Hello to all,

I need your help. I'm programming in VC++ and I need to change the default
audio device in Windows98, 2000 and XP.

I've found a function that returns the ID of the preferred audio device
(waveoutmessage) but I need to change the preferred audio device.

I don't know how to do that... may be It can be done through the registry...

Thank you.


3.Avoid changing default audio device

When I plug in my USB audio class device, the default device for sound
playback/recording is changed. Can this be prevented?

Leo Havmler.


4.Installing audio drivers changes Windows default devices. How


"Chris P. [MVP]" wrote:

> On Tue, 9 Aug 2005 06:46:05 -0700, Dick Schiferli wrote:
> 
> > I am trying to install virtual audio cable drivers. However on some systems 
> > after installation the Windows default audio devices are replaced by the 
> > virtual devices. We have already added following to the registry:
> > 
> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VirtualCable]
> > "Start"=dword:00000001
> > 
> > but its still changing the default driver on about 30% of the systems.
> > 
> > Any idea how to fix this?
> 
> This would probably be a good question for the author of the drivers.
> Otherwise it will take some digging in the DDK to determine the enumeration
> order of audio drivers.  If you plan on rebooting after the install you
> could read the default audio device names from the registry and then re-set
> them after the install.
> 

Hi Crhis, actually the installation data came from the author. But he is 
also clueless as to what the reason can be that on some systems the defaults 
change.  The files installed are pvckmd.sys in \Drivers32 and pvcumd.dll in 
\System32.

I've tried to find instruction on how to correctly install a non-WDM audio 
driver but even a Google search did not return any data.

Thx, Dick

5.Setting audio driver as default in Windows 7

In Windows 7, how can I make an audio driver as the default one for playback 
while installing? I was using SetupPreferredAudioDevices keyword in my INF 
file to make the audio driver default in Windows Vista. But I could see that 
in Windows 7 this support is not available. Is there any other way to make 
the driver default at the time of installation?

6. avstream avssamp example freeze system

7. avssamp input pin

8. About saving avi file using avssamp.



Return to device driver

 

Who is online

Users browsing this forum: No registered users and 55 guest