[AUDIO-BRINGUP]

- Enable mmixer library in wdmaud.drv
- Delete unused code
- Don't call wave streaming handler again from the io completion callback. As this will sooner or later will cause crash because the stack got eaten
- Create a thread for each io packet and handle the completion callback within it. 
- Audio packets are now directly routed from winmm -> wdmaud.drv -> portcls instead of winmm -> wdmaud.drv -> wdmaud.sys -> sysaudio.sys -> kmixer.sys -> portcls.sys
- Needs more testing & fine tuning, to fixup audio glitches

svn path=/branches/audio-bringup/; revision=49910
This commit is contained in:
Johannes Anderwald 2010-12-03 03:39:55 +00:00
parent 4bafd25194
commit 8e1a78a39c
7 changed files with 70 additions and 905 deletions

View file

@ -232,7 +232,7 @@ CompleteIO(
}while(dwNumberOfBytesTransferred);
DoWaveStreaming(SoundDeviceInstance);
//DoWaveStreaming(SoundDeviceInstance);
//CompleteWavePortion(SoundDeviceInstance, dwNumberOfBytesTransferred);