[Bug 14559] Rosetta stone v3 microphone detection
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Dec 13 19:30:05 CST 2011
http://bugs.winehq.org/show_bug.cgi?id=14559
--- Comment #79 from Raymond <superquad.vortex2 at gmail.com> 2011-12-13 19:30:05 CST ---
The reason of getting two "Master Volume" is MXD_GetControlDetails() hardcode
the dwControlID 0 and 1 to "Master Volume" and "Master Mute"
Refer to http://bugs.winehq.org/attachment.cgi?id=32818 and
http://bugs.winehq.org/attachment.cgi?id=35082
The control id for volume controls are not not at 0 or 1 but at 6 and 9
The first two control id may be for the targettype WAVEOUT and WAVEIN
and the next four control id are componenttype DST_SPEAKERS, SRC_WAVEOUT,
DST_WAVEIN, SRC_MICROPHONE
mixer.c:759: 0: "HDA Intel" 1.0 (170:85) destinations=2
mixer.c:830: 0: "Master" (Master) Destination=0 Source=-1
mixer.c:833: LineID=00000000 Channels=1 Connections=8 Controls=2
mixer.c:837: State=0x00000001(MIXERLINE_LINEF_ACTIVE)
mixer.c:839: ComponentType=MIXERLINE_COMPONENTTYPE_DST_SPEAKERS
mixer.c:841: Type=MIXERLINE_TARGETTYPE_WAVEOUT
mixer.c:843: Device=-1 (HDA Intel) 1.0 (170:85)
mixer.c:875: 0: "PCM" (PCM) Destination=0 Source=0
mixer.c:878: LineID=00000002 Channels=2 Connections=1 Controls=1
mixer.c:882:
State=0x80000001(MIXERLINE_LINEF_ACTIVE|MIXERLINE_LINEF_SOURCE)
mixer.c:884: ComponentType=MIXERLINE_COMPONENTTYPE_SRC_WAVEOUT
mixer.c:886: Type=MIXERLINE_TARGETTYPE_WAVEOUT
mixer.c:888: Device=-1 (HDA Intel) 1.0 (170:85)
mixer.c:935: 0: "PCM" (PCM) ControlID=6
mixer.c:937: ControlType=MIXERCONTROL_CONTROLTYPE_VOLUME
mixer.c:939: Control=0x00000000()
mixer.c:942: Items=0 Min=0 Max=65535 Step=1680
mixer.c:588: Value=65535
mixer.c:875: 1: "Mic Boost" (Mic Boost) Destination=0 Source=1
mixer.c:878: LineID=00000004 Channels=2 Connections=1 Controls=1
mixer.c:882:
State=0x80000001(MIXERLINE_LINEF_ACTIVE|MIXERLINE_LINEF_SOURCE)
mixer.c:884: ComponentType=MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED
mixer.c:886: Type=MIXERLINE_TARGETTYPE_WAVEOUT
mixer.c:888: Device=-1 (HDA Intel) 1.0 (170:85)
mixer.c:935: 0: "Mic Boost" (Mic Boost) ControlID=12
mixer.c:937: ControlType=MIXERCONTROL_CONTROLTYPE_VOLUME
mixer.c:939: Control=0x00000000()
mixer.c:942: Items=0 Min=0 Max=65535 Step=21845
mixer.c:588: Value=0
mixer.c:875: 2: "IEC958" (IEC958) Destination=0 Source=2
mixer.c:878: LineID=00000006 Channels=2 Connections=1 Controls=2
mixer.c:882:
State=0x80000001(MIXERLINE_LINEF_ACTIVE|MIXERLINE_LINEF_SOURCE)
mixer.c:884: ComponentType=MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED
mixer.c:886: Type=MIXERLINE_TARGETTYPE_WAVEOUT
mixer.c:888: Device=-1 (HDA Intel) 1.0 (170:85)
mixer.c:935: 0: "IEC958" (IEC958) ControlID=18
mixer.c:937: ControlType=MIXERCONTROL_CONTROLTYPE_VOLUME
mixer.c:939: Control=0x00000000()
mixer.c:942: Items=0 Min=0 Max=65535 Step=1680
mixer.c:588: Value=0
mixer.c:935: 1: "IEC958" (IEC958) ControlID=20
mixer.c:937: ControlType=MIXERCONTROL_CONTROLTYPE_MUTE
mixer.c:939: Control=0x00000000()
mixer.c:942: Items=0 Min=0 Max=1 Step=0
mixer.c:667: Value=0
mixer.c:875: 3: "Beep" (Beep) Destination=0 Source=3
mixer.c:878: LineID=00000007 Channels=1 Connections=1 Controls=2
mixer.c:882:
State=0x80000001(MIXERLINE_LINEF_ACTIVE|MIXERLINE_LINEF_SOURCE)
mixer.c:884: ComponentType=MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED
mixer.c:886: Type=MIXERLINE_TARGETTYPE_WAVEOUT
mixer.c:888: Device=-1 (HDA Intel) 1.0 (170:85)
mixer.c:935: 0: "Beep" (Beep) ControlID=21
mixer.c:937: ControlType=MIXERCONTROL_CONTROLTYPE_VOLUME
mixer.c:939: Control=0x00000000()
mixer.c:942: Items=0 Min=0 Max=65535 Step=4369
mixer.c:588: Value=65535
mixer.c:935: 1: "Beep" (Beep) ControlID=23
mixer.c:937: ControlType=MIXERCONTROL_CONTROLTYPE_MUTE
mixer.c:939: Control=0x00000000()
mixer.c:942: Items=0 Min=0 Max=1 Step=0
mixer.c:667: Value=1
mixer.c:875: 4: "Docking Mic" (Docking Mic) Destination=0 Source=4
mixer.c:878: LineID=00000009 Channels=2 Connections=1 Controls=2
mixer.c:882:
State=0x80000001(MIXERLINE_LINEF_ACTIVE|MIXERLINE_LINEF_SOURCE)
mixer.c:884: ComponentType=MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED
mixer.c:886: Type=MIXERLINE_TARGETTYPE_WAVEOUT
mixer.c:888: Device=-1 (HDA Intel) 1.0 (170:85)
mixer.c:935: 0: "Docking Mic" (Docking Mic) ControlID=27
mixer.c:937: ControlType=MIXERCONTROL_CONTROLTYPE_VOLUME
mixer.c:939: Control=0x00000000()
mixer.c:942: Items=0 Min=0 Max=65535 Step=2114
mixer.c:588: Value=0
mixer.c:935: 1: "Docking Mic" (Docking Mic) ControlID=29
mixer.c:937: ControlType=MIXERCONTROL_CONTROLTYPE_MUTE
mixer.c:939: Control=0x00000000()
mixer.c:942: Items=0 Min=0 Max=1 Step=0
mixer.c:667: Value=1
mixer.c:875: 5: "Docking Mic Boo" (Docking Mic Boost) Destination=0
Source=5
mixer.c:878: LineID=0000000a Channels=2 Connections=1 Controls=1
mixer.c:882:
State=0x80000001(MIXERLINE_LINEF_ACTIVE|MIXERLINE_LINEF_SOURCE)
mixer.c:884: ComponentType=MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED
mixer.c:886: Type=MIXERLINE_TARGETTYPE_WAVEOUT
mixer.c:888: Device=-1 (HDA Intel) 1.0 (170:85)
mixer.c:935: 0: "Docking Mic Boo" (Docking Mic Boost) ControlID=30
mixer.c:937: ControlType=MIXERCONTROL_CONTROLTYPE_VOLUME
mixer.c:939: Control=0x00000000()
mixer.c:942: Items=0 Min=0 Max=65535 Step=21845
mixer.c:588: Value=0
mixer.c:875: 6: "Internal Mic" (Internal Mic) Destination=0 Source=6
mixer.c:878: LineID=0000000c Channels=2 Connections=1 Controls=2
mixer.c:882:
State=0x80000001(MIXERLINE_LINEF_ACTIVE|MIXERLINE_LINEF_SOURCE)
mixer.c:884: ComponentType=MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED
mixer.c:886: Type=MIXERLINE_TARGETTYPE_WAVEOUT
mixer.c:888: Device=-1 (HDA Intel) 1.0 (170:85)
mixer.c:935: 0: "Internal Mic" (Internal Mic) ControlID=36
mixer.c:937: ControlType=MIXERCONTROL_CONTROLTYPE_VOLUME
mixer.c:939: Control=0x00000000()
mixer.c:942: Items=0 Min=0 Max=65535 Step=2114
mixer.c:588: Value=0
mixer.c:935: 1: "Internal Mic" (Internal Mic) ControlID=38
mixer.c:937: ControlType=MIXERCONTROL_CONTROLTYPE_MUTE
mixer.c:939: Control=0x00000000()
mixer.c:942: Items=0 Min=0 Max=1 Step=0
mixer.c:667: Value=1
mixer.c:875: 7: "Internal Mic Bo" (Internal Mic Boost) Destination=0
Source=7
mixer.c:878: LineID=0000000d Channels=2 Connections=1 Controls=1
mixer.c:882:
State=0x80000001(MIXERLINE_LINEF_ACTIVE|MIXERLINE_LINEF_SOURCE)
mixer.c:884: ComponentType=MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED
mixer.c:886: Type=MIXERLINE_TARGETTYPE_WAVEOUT
mixer.c:888: Device=-1 (HDA Intel) 1.0 (170:85)
mixer.c:935: 0: "Internal Mic Bo" (Internal Mic Boost) ControlID=39
mixer.c:937: ControlType=MIXERCONTROL_CONTROLTYPE_VOLUME
mixer.c:939: Control=0x00000000()
mixer.c:942: Items=0 Min=0 Max=65535 Step=21845
mixer.c:588: Value=0
mixer.c:830: 1: "Capture" (Capture) Destination=1 Source=-1
mixer.c:833: LineID=00000001 Channels=2 Connections=5 Controls=3
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=-1 (HDA Intel) 1.0 (170:85)
mixer.c:875: 0: "Mic" (Mic) Destination=1 Source=0
mixer.c:878: LineID=00000003 Channels=2 Connections=1 Controls=1
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=-1 (HDA Intel) 1.0 (170:85)
mixer.c:935: 0: "Mic" (Mic) ControlID=9
mixer.c:937: ControlType=MIXERCONTROL_CONTROLTYPE_VOLUME
mixer.c:939: Control=0x00000000()
mixer.c:942: Items=0 Min=0 Max=65535 Step=2114
mixer.c:588: Value=65535
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list