How to play sound in Avssamp??

device driver

    Sponsored Links


  • 1. Page Replacement Policy on windows XP?
    Hi all. does anyone know what kind of algorithm for page replacement policy the windows XP do ? such as LRU(additional reference bits, second chance) or FIFO.. I just know that kind of algoritm for plage replacement policy in OS. However, I don't know which algorithm the windows XP use. Please let me know anyone knows
  • 2. Q) PCI Expansion ROM for a CardBus.
    Subject : Question about PCI Expansion ROM for a CardBus. Dear all, Im developing NDIS CardBus device driver at Win2K/Xp. It will use PCI Expansion ROM for CardBus CIS only. Q1) What kinds of resource type will I get after using NdisMQueryAdapterResources? I found that CmResourceTypeInterrupt, CmResourceTypeMemory, and etc were defined in ndis.h. But, there is no type for an expansion ROM. Will it be treated as a memory(CmResourceTypeMemory) type? Q2) Are there any side effects to BIOS or bus/bridge drivers that were from Win2K/Xp because of PCI Expansion ROM? My expansion ROMs content is completely empty except the CardBus CIS information. Thank you for your attention to my question. // Daum
  • 3. Movie Maker and SRB_GET_DATA_INTERSECTION
    Hi, I am developing stream class mini driver for windows XP. We want the driver to work with Movie maker. We tested our driver with Ulead and DVapp and it works with both of the applications. But with Movie Maker, I see lots of SRB_GET_DATA_INTERSECTION requests from Stream class driver before the DVcapture stream is opened. Once the stream is opened, we again start seeeing SRB_GET_DATA_INTERSECTION requests, and this is where Movie maker gives "Unknown error ocurred" after some time. I have been trying to figure out what could be the problem for the multiple SRB_GET_DATA_INTERSECTION request but till now I had no luck. Is any one aware of any particular format that Movie maker is expecting from the driver to support. If DVApp and Movie Maker both use MSDV, then what is that Movie is expecting from the driver which DVapp does not. I am using Movie Maker 2.1 with Sony Camcorder. I have even tried Movie maker with both NTSC and PAL camcorders, but no luck. I still see the same behaviour. -Shiv
  • 4. basic question about porting 32 bit driver to 64 bit windows
    Can a 64 bit driver be build on a 32 bit windows 2000 machine with the w2k server 2003 sp1 ddk? Or must the 64 bit driver be build on a machine running 64 bit windows?
  • 5. DrvConvertDevMode - CDM_DRIVER_DEFAULT
    Hi I don't have a problem, but I'd like to understand this. If the 'DrvConvertDevMode' of my printer driver get's the CDM_DRIVER_DEFAULT value, it should return the driver's default values... now, let's assume that I've a printer driver that can handle 2 types of printers. One is a A4 and the other one a A2 printer (that's the most significant difference). When the driver is called, the printer name passed to it, is not a printer name, but something like this "manufacturer drivername". So, my driver has no chance to find out, if windows want's the informations about the A4 or the A2 printer. So, it can't insert the correct data about papersize, resolution etc. ... could this be a problem? Does Windows ever use the data received by this call? I don't think so... I think, that Windows never uses the CDM_DRIVER_DEFAULT values... am I right? Or do I have to solve this problem? What, if the printer is attached to the network and I can't return correct values, if I can't communicate with it? (so, then it's impossible to say something about standard values, if I don't have the printers name)... thanks MR

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 70 guest