Commit graph

19 commits

Author SHA1 Message Date
Johannes Anderwald
f93d9928e3 [AUDIO-BRINGUP]
- Implement WODM_RESTART / WODM_PAUSE
- Fixes playback in Audacity and many others probably

svn path=/branches/audio-bringup/; revision=49999
2010-12-10 08:23:20 +00:00
Johannes Anderwald
a0f720954d [AUDIO-BRINGUP]
- Implement WdmAudResetStreamByMMixer, StopStreamingInSoundThread
- WIDM_RESET / WODM_RESET are now implemented
- Skipping now audio bytes (i.e. jumping to different audio position) now properly works and no longer causes a hang under certain conditions

svn path=/branches/audio-bringup/; revision=49997
2010-12-10 06:14:10 +00:00
Johannes Anderwald
7ae8c563cc [AUDIO-BRINGUP]
- Respect channel count which defines if the control acts uniform or per channel
- Fix bug in MMixerSetGetMuxControlDetails

svn path=/branches/audio-bringup/; revision=49993
2010-12-09 11:33:58 +00:00
Johannes Anderwald
5e2f536e5c [AUDIO-BRINGUP]
- Implement MixerEvent callback in wdmaud.drv
- Comment out assert which is hit in VmWare
- Implement full support mux controls

svn path=/branches/audio-bringup/; revision=49990
2010-12-08 19:49:28 +00:00
Johannes Anderwald
2b777abf96 [AUDIO-BRINGUP]
- Silence traces

svn path=/branches/audio-bringup/; revision=49975
2010-12-07 17:46:25 +00:00
Johannes Anderwald
4cf9ead133 [AUDIO-BRINGUP]
- Fix major bug which made change volume / mute requests fail

svn path=/branches/audio-bringup/; revision=49972
2010-12-07 15:52:25 +00:00
Johannes Anderwald
062790010c [AUDIO-BRINGUP]
- Implement registering source / destination lines + controls of alternative mixers
- Implement support function for retrieving mixer by name

svn path=/branches/audio-bringup/; revision=49970
2010-12-07 15:19:22 +00:00
Johannes Anderwald
6a0327f62c [AUDIO-BRINGUP]
- Fix error message when mmixer library has failed to initialize
- Remove device handle from MIXER_INFO as a mixer can span over more than one device (i.e. mixer, wave)
- Add device handle to mixer control struct
- Store mixer controls in list than in array. Will later be used to add hacks (i.e wave line must have volume controls etc)
- Add reserved member to topology pin struct and mark used pins as reserved. It is then used to add alternative mixers destination lines

svn path=/branches/audio-bringup/; revision=49967
2010-12-07 10:29:57 +00:00
Johannes Anderwald
4256033623 [AUDIO-BRINGUP]
- Implement support for retrieving mux mixer controls 
- Implement support for on/off controls
- Store logical pins for nodes connecting to another nodes. Currently not yet used


svn path=/branches/audio-bringup/; revision=49965
2010-12-06 16:00:06 +00:00
Johannes Anderwald
3da0b30d8a [AUDIO-BRINGUP]
- Implement determination of the channel count for source mixer lines

svn path=/branches/audio-bringup/; revision=49960
2010-12-06 02:15:33 +00:00
Johannes Anderwald
f5a193a41b [AUDIO-BRINGUP]
- Properly determine the component type and target type of source lines
- Correctly set dwDestination / target type / component member for source lines

svn path=/branches/audio-bringup/; revision=49955
2010-12-05 18:01:24 +00:00
Johannes Anderwald
f0b3c9997f [AUDIO-BRINGUP]
- Fix line ids of source lines
- Fix calculating line id of source lines
- MS sndvol32 is still crashing in user32

svn path=/branches/audio-bringup/; revision=49951
2010-12-04 18:53:51 +00:00
Johannes Anderwald
a7d4c7146b [AUDIO-BRINGUP]
- More fixes for mmixer library
- Store destination lines sharing the same mixer object in the same object
- Fix generating destination lines id / soure lines
- Add mux node for input mixers
- Disable code which checked if the topology node has already been reserved for an another line. Tests in WinXP concluded that ms does not do this at all, though documentation claims it
- Add source line to the correct destination line
- Fix a memory leak
- Fix tons of bugs in MMixerGetLineInfo



svn path=/branches/audio-bringup/; revision=49949
2010-12-04 17:45:48 +00:00
Johannes Anderwald
6cee9e1837 [AUDIO-BRINGUP]
- Pass audio device id to wdmaud.drv callback functions
- Extend VALIDATE_MMSYS_PARAMETER macro
- Handle case when the caller does not pass handle of mixer, but a device id
- Pass device id to mmixer library
- Remove dead code
- MS sndvol32.exe now gets further, but crashes in user32 IntCallMessageProc

svn path=/branches/audio-bringup/; revision=49931
2010-12-03 16:49:33 +00:00
Johannes Anderwald
6c8e7899a9 - Update to trunk
svn path=/branches/audio-bringup/; revision=49927
2010-12-03 15:05:26 +00:00
Johannes Anderwald
0db537dac8 [AUDIO-BRINGUP]
- Fix opening of mixer / midi devices

svn path=/branches/audio-bringup/; revision=49917
2010-12-03 11:14:29 +00:00
Johannes Anderwald
8e1a78a39c [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
2010-12-03 03:39:55 +00:00
Johannes Anderwald
8f6a632579 - Merge audio components from head
svn path=/branches/audio-bringup/; revision=49491
2010-11-05 17:56:34 +00:00
Timo Kreuzer
5eb25b5c24 Create a branch for audio work
svn path=/branches/audio-bringup/; revision=49478
2010-11-05 11:04:48 +00:00