How to play sound in Avssamp??

device driver

    Sponsored Links


  • 1. SetupDiXxx and CM_Xxx support in 2k
    I've got a program that uses a bunch of the SetupDi and CM_ routines from the XP DDK. Is there a listing anywhere that says which of these routines are also supported under 2K? I've already got to rewrite this section of code to support NT and I'm wondering if I need to have a 2K section as well. The description of each function in the DDK documentation doesn't say which OSes are supported so I'm wondering if there's a list somewhere else that I can't find or ... do I have to install the 2K DDK and check it? Thanks! Judy
  • 2. Is KeQueryTimeIncrement or KeQueryInterruptTime can use in ISR rountine?
    Hi All, As mentioned DDK, KeQueryTimeIncrement and KeQueryInterruptTime can run at any IRQL. But I found they always return same value(time) while the driver calling them in ISR. I need to count the device interrupt interval time for debugging purpose, then what can I do? Thanks, Best Regards, Elliott A WDM driver beginner
  • 3. Query related to Pending IOP
    Hi, How can I pend the IOP in VxD driver like in NT IoMarkIrpPending()? Thanks in advance. Regards, Subburaj.R .

How to play sound in Avssamp??

Postby paullee » Wed, 21 Jul 2004 15:50:03 GMT


I have try to play sound in Avssamp,I uncomment some code when audio
is required,but it still cann't not run ,where is the place that I
need to
modify?? in the KsNodeDescriptors and KsConnections also has some code
is marked,should I remove it??

  may I change avssamp.dat to any WAV file that will be fine ??

Thanks a lot

Similar Threads: sound

How can I play some sound from WDM driver? I suppose to use KsCreatePin to
open sound stream. But I could not set its parameters properly. At the
moment I obtain a handle to sound driver (1st parameter) but the socond one
cause a problem.
Could anybody provide me with example of how to call this function. I want
to play PCM/44.1kHz/stereo sound. sound from kernelmode

3.Sound files all play too fast - possible driver solution

I also had my sound files playing at double speed and downloaded 12-15
patch/update files from various sites, e.g. Intel 815 chipset update,
HP/Compaq AC97 driver updates, etc, and nothing seemed to work. I knew
it was something to do with getting a SoundMAX Integrated Digital
Audio driver to replace my AC97 one. Finally after losing the plot
several times with my pc i found the SoundMAX driver on another
similar machine (150 Kb zipped), installed it and bingo! i have calmed
down by listening to my 'Calming' music :)

My pc is a Compaq Deskpro PIII 733MHz 128RAM with integrated sound.
I don't have a place to put the driver i found (is there one
available) but if anyone wants it feel free to send me an email.


4.Play sound from multiple devices

When I plug a phone jack into my laptop, it now plays through the
external speakers via the jack.

Question: Is this a hardware connection that is broken ?  or is there
a software decision in the driver to play through the external
devices ?

Is there a setting somewhere (registry or API) that I can set the
system to play through the external and internal speakers ?

Or:  Can I set the system to send sound to multiple devices if
installed multiple sound devices ?



5.avstream avssamp example freeze system

Using matlab+simulink (under mex setup VS2005) as a client application for 
capturing video from DDK sample avssamp totally freeze windows (Vista, XP). 
The mouse cursor doesn't move, nothing is move at all.
At the same time Avssamp is fine when capturing with Amcap, and fine if 
matlab mex setup is VS2003.NET, also matlab is fine with vs2005 when 
captureing from webcamera...

Tried using avsamp debug version with dbgPrintf+dbgview - i can't see any 
out message, system is freezed before any message occurs.
Tried run with verifier ON, nothing!

Could anybody advise how to debug this strange avssamp behaviour?
Thank you.


6. AVSSamp as default audio device

7. problem with installing avssamp to audio capture sources category

8. avssamp input pin

Return to device driver


Who is online

Users browsing this forum: No registered users and 80 guest