http://bugs.winehq.org/show_bug.cgi?id=23902
--- Comment #82 from Raymond superquad.vortex2@gmail.com 2010-11-14 00:19:40 CST --- (In reply to comment #78)
(In reply to comment #77)
(In reply to comment #76)
*** Bug 24647 has been marked as a duplicate of this bug. ***
can you explain the meaning of mixdev[mixnum].chans ?
if the mixer has one controls with type DST (destination) , it should also has source and vice versa
Raymond, your contributions here are very confusing and often don't have much to do with the crashes. Perhaps IRC or wine-devel would be a better venue for a generic breakdown of the winealsa.drv architecture.
I have mailed a couple of patches this morning that should fix all known crashes linked to this bug. Fingers crossed that they get accepted.
if you have run winetest-latest.exe in windows
set WINETEST_INTERACTIVE=1 winmm_test.exe mixer
you should notice that the output of your usb mic should be similar to the following
mixer.c:759: 2: "USB Mic" 0.5 (65535:65535) destinations=1
mixer.c:830: 0: "Capture" (Capture) Destination=0 Source=-1
mixer.c:833: LineID=ffff0000 Channels=1 Connections=1 Controls=2
mixer.c:837: State=0x00000001(MIXERLINE_LINEF_ACTIVE)
mixer.c:839: ComponentType=MIXERLINE_COMPONENTTYPE_DST_WAVEIN
mixer.c:841: Type=MIXERLINE_TARGETTYPE_WAVEIN
mixer.c:843: Device=3 (USB Mic) 0.5 (65535:65535)
mixer.c:875: 0: "Microphone" (Microphone) Destination=0 Source=0
mixer.c:878: LineID=00000000 Channels=1 Connections=0 Controls=0
mixer.c:882: State=0x80000001(MIXERLINE_LINEF_ACTIVE|MIXERLINE_LINEF_SOURCE)
mixer.c:884: ComponentType=MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE
mixer.c:886: Type=MIXERLINE_TARGETTYPE_WAVEIN
mixer.c:888: Device=3 (USB Mic) 0.5 (65535:65535)
perform the same test on wine 1.3.7
WINETEST_INTERACTIVE=1 ./wine dlls/winmm/tests/winmm_test.exe.so mixer
mixer.c:759: 2: "USB Device 0x????:0x????" 1.0 (170:85) destinations=1 fixme:mixer:getsrccntfromchan No src found for 0 (L"Mic")? mixer.c:830: 0: "Mic" (Mic) Destination=0 Source=-1 mixer.c:833: LineID=00000000 Channels=1 Connections=0 Controls=1 mixer.c:837: State=0x00000001(MIXERLINE_LINEF_ACTIVE) mixer.c:839: ComponentType=MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE mixer.c:841: Type=MIXERLINE_TARGETTYPE_WAVEIN mixer.c:843: Device=-1 (USB Device 0x46d:0x992) 1.0 (170:85)
This mean that those usb mic patches still break the wine compilance test
although it won't crash the game