Jeff Zaroyko : imaadp32: Report the same driver details as windows.

Alexandre Julliard julliard at winehq.org
Tue Dec 9 06:24:08 CST 2008


Module: wine
Branch: master
Commit: d31adc8eae00360afbde142796fbe2a1f75cc3cf
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d31adc8eae00360afbde142796fbe2a1f75cc3cf

Author: Jeff Zaroyko <jeffz at jeffz.name>
Date:   Sun Dec  7 18:41:15 2008 +1100

imaadp32: Report the same driver details as windows.

---

 dlls/imaadp32.acm/imaadp32.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dlls/imaadp32.acm/imaadp32.c b/dlls/imaadp32.acm/imaadp32.c
index 1b44c0b..f784f59 100644
--- a/dlls/imaadp32.acm/imaadp32.c
+++ b/dlls/imaadp32.acm/imaadp32.c
@@ -472,17 +472,17 @@ static	LRESULT ADPCM_DriverDetails(PACMDRIVERDETAILSW add)
 {
     add->fccType = ACMDRIVERDETAILS_FCCTYPE_AUDIOCODEC;
     add->fccComp = ACMDRIVERDETAILS_FCCCOMP_UNDEFINED;
-    add->wMid = 0xFF;
-    add->wPid = 0x00;
-    add->vdwACM = 0x01000000;
-    add->vdwDriver = 0x01000000;
+    add->wMid = 0x1;
+    add->wPid = 0x22;
+    add->vdwACM = 0x3320000;
+    add->vdwDriver = 0x04000000;
     add->fdwSupport = ACMDRIVERDETAILS_SUPPORTF_CODEC;
     add->cFormatTags = 2; /* PCM, IMA ADPCM */
     add->cFilterTags = 0;
     add->hicon = NULL;
-    MultiByteToWideChar( CP_ACP, 0, "WINE-ADPCM", -1,
+    MultiByteToWideChar( CP_ACP, 0, "Microsoft IMA ADPCM", -1,
                          add->szShortName, sizeof(add->szShortName)/sizeof(WCHAR) );
-    MultiByteToWideChar( CP_ACP, 0, "Wine IMA ADPCM converter", -1,
+    MultiByteToWideChar( CP_ACP, 0, "Microsoft IMA ADPCM CODEC", -1,
                          add->szLongName, sizeof(add->szLongName)/sizeof(WCHAR) );
     MultiByteToWideChar( CP_ACP, 0, "Brought to you by the Wine team...", -1,
                          add->szCopyright, sizeof(add->szCopyright)/sizeof(WCHAR) );
@@ -500,7 +500,7 @@ static	LRESULT ADPCM_DriverDetails(PACMDRIVERDETAILSW add)
 static	LRESULT	ADPCM_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
 {
     static const WCHAR szPcm[]={'P','C','M',0};
-    static const WCHAR szImaAdPcm[]={'I','M','A',' ','A','d','P','C','M',0};
+    static const WCHAR szImaAdPcm[]={'I','M','A',' ','A','D','P','C','M',0};
 
     switch (dwQuery)
     {




More information about the wine-cvs mailing list