Andrew Eikum : winmm: Report waveIn devices' component type as Microphone.
Alexandre Julliard
julliard at winehq.org
Wed Mar 28 12:47:05 CDT 2012
Module: wine
Branch: master
Commit: 447b045825e1d0ba7cdeb2f75ef3935d320f97bc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=447b045825e1d0ba7cdeb2f75ef3935d320f97bc
Author: Andrew Eikum <aeikum at codeweavers.com>
Date: Tue Mar 27 11:11:11 2012 -0500
winmm: Report waveIn devices' component type as Microphone.
---
dlls/winmm/waveform.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winmm/waveform.c b/dlls/winmm/waveform.c
index 3ca087e..c7d3118 100644
--- a/dlls/winmm/waveform.c
+++ b/dlls/winmm/waveform.c
@@ -3671,7 +3671,7 @@ static UINT WINMM_GetSourceLineInfo(WINMM_MMDevice *mmdevice, UINT mmdev_index,
memcpy(info->Target.szPname, mmdevice->out_caps.szPname,
sizeof(info->Target.szPname));
}else{
- info->dwComponentType = MIXERLINE_COMPONENTTYPE_SRC_LINE;
+ info->dwComponentType = MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE;
info->Target.dwType = MIXERLINE_TARGETTYPE_UNDEFINED;
info->Target.szPname[0] = '\0';
}
@@ -3740,7 +3740,7 @@ static UINT WINMM_GetComponentTypeLineInfo(WINMM_MMDevice *mmdevice,
return WINMM_GetDestinationLineInfo(mmdevice, mmdev_index, info, flags);
}
- if(info->dwComponentType == MIXERLINE_COMPONENTTYPE_SRC_LINE){
+ if(info->dwComponentType == MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE){
if(is_out)
return MIXERR_INVALLINE;
info->dwSource = 0;
More information about the wine-cvs
mailing list