COD4 COD: WAW Lounge
Call of Duty 4 Forums
Home UserCP Members Register Calendar FAQ Downloads Clans


Go Back   Call of Duty 4 Forums > Call of Duty 4 Discussion > Game Issues
Register FAQ Members List Calendar Downloads Search Today's Posts Mark Forums Read


Welcome to the Call of Duty 4 Forums! Please REGISTER!
Hey there!

It looks like you're enjoying Call of Duty 4 Forums but haven't created an account yet. Why not take a minute to register for your own free account now? As a member you get free access to all of our forums and posts plus the ability to post your own messages, communicate directly with other members and much more. You also have the chance to win great prizes just for posting! Register now!

Already a member? Login at the top of this page to stop seeing this message.

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 04-26-2008, 09:51 PM
CoD4Boards's Avatar
Administrator
 
Join Date: Aug 2007
Posts: 482
CoD4Boards has disabled reputation
Default COD4 Windows Vista Audio Drivers Fix

To fix the Vista Audio driver problem you have to double-click on that orange loud speaker symbol in your task bar, then click on the folder icon in the upper right edge and activate "Disable front panel jack detection". This will force the driver to load microphone support even without a mic plugged in.

Furthermore you have to make sure that (in case your using the digital output, like me) your Digital Output device is set as default. To do that, go into the HD Audio Manager (orange load speaker) again, click on Digital Output in the upper bar and on "Set Default Device" next to the volume adjuster after.

Thanks to Xero|Hawk from the Infinity Ward forums for this fix. Below is his original post and some technical information.

Quote:
Originally Posted by Xero|Hawk
After looking into this a bit (as I'm affected myself), I found out that the crash is caused by this piece of code (most likely a little programming mistake):

Code:

Code:
004ED380  /$  51            PUSH ECX
004ED381  |.  6A 00         PUSH 0
004ED383  |.  68 78B55E0D   PUSH iw3mp.0D5EB578
004ED388  |.  6A 00         PUSH 0
004ED38A  |.  C705 D0824001>MOV DWORD PTR DS:[14082D0],iw3mp.004ED37>
004ED394  |.  C705 D4824001>MOV DWORD PTR DS:[14082D4],iw3mp.014082D>
004ED39E  |.  C605 4EB55E0D>MOV BYTE PTR DS:[D5EB54E],0
004ED3A5  |.  E8 1C9F1500   CALL <JMP.&DSOUND.#6>
004ED3AA  |.  85C0          TEST EAX,EAX
004ED3AC  |.  7D 14         JGE SHORT iw3mp.004ED3C2
004ED3AE  |.  50            PUSH EAX                                 ; /Arg3
004ED3AF  |.  68 A0376E00   PUSH iw3mp.006E37A0                      ; |Arg2 = 006E37A0 ASCII "Error initializing direct sound instance!  %s"
004ED3B4  |.  6A 09         PUSH 9                                   ; |Arg1 = 00000009
004ED3B6  |.  E8 15F90000   CALL iw3mp.004FCCD0                      ; \iw3mp.004FCCD0 <-- crashes inside this function
004ED3BB  |.  83C4 0C       ADD ESP,0C
004ED3BE  |.  33C0          XOR EAX,EAX
004ED3C0  |.  59            POP ECX
004ED3C1  |.  C3            RETN
004ED3C2  |>  B8 01000000   MOV EAX,1
004ED3C7  |.  A2 4EB55E0D   MOV BYTE PTR DS:[D5EB54E],AL
004ED3CC  |.  59            POP ECX
004ED3CD  \.  C3            RETN

JMP.&DSOUND.#6 is a JMP to DSOUND.DirectSoundCaptureCreate, and its return value is directly used for the string formatting. Most likely the programmer wanted to have a formatted error message displayed (which would be DSERR_NODRIVER), or the error value in hex, or whatever, but instead he treated the return value as a string pointer and because the formatting func doesnt do a IsBadReadPtr check on it before handling it, the game crashes. I tried changing the %s to %X which fixes this crash indeed, but because the DirectSoundCaptureCreate call isnt supposed to fail, the game crashes at a different position, probably when its trying to use the interface the first time.

Code:

Code:
0057A7E2  |.  803D 4EB55E0D>|CMP BYTE PTR DS:[D5EB54E],0 <-- the IsCaptureInitialized bool, most likely
0057A7E9  |.  75 04         |JNZ SHORT iw3mp2.0057A7EF <-- but because the Create call failed, its not (see code snippet above),...
0057A7EB  |.  33F6          |XOR ESI,ESI <-- ...so make ESI zero...
0057A7ED  |.  EB 45         |JMP SHORT iw3mp2.0057A834 <-- ...and jump to our crashing code line (it uses ESI as pointer - very smart)
0057A7EF  |>  A1 D4824001   |MOV EAX,DWORD PTR DS:[14082D4]
0057A7F4  |.  6A 48         |PUSH 48
0057A7F6  |.  8BF0          |MOV ESI,EAX
0057A7F8  |.  83C0 48       |ADD EAX,48
0057A7FB  |.  6A 00         |PUSH 0
0057A7FD  |.  56            |PUSH ESI
0057A7FE  |.  A3 D4824001   |MOV DWORD PTR DS:[14082D4],EAX
0057A803  |.  E8 A8890F00   |CALL iw3mp2.006731B0
0057A808  |.  8B0D D43E7200 |MOV ECX,DWORD PTR DS:[723ED4]
0057A80E  |.  83C4 0C       |ADD ESP,0C
0057A811  |.  C746 2C 00200>|MOV DWORD PTR DS:[ESI+2C],2000
0057A818  |.  C746 30 FF000>|MOV DWORD PTR DS:[ESI+30],0FF
0057A81F  |.  C746 34 80000>|MOV DWORD PTR DS:[ESI+34],80
0057A826  |.  894E 38       |MOV DWORD PTR DS:[ESI+38],ECX
0057A829  |.  C746 1C FFFFF>|MOV DWORD PTR DS:[ESI+1C],-1
0057A830  |.  C646 44 02    |MOV BYTE PTR DS:[ESI+44],2
0057A834  |>  8B4E 38       |MOV ECX,DWORD PTR DS:[ESI+38] <-- crashing here
0057A837  |.  8B46 2C       |MOV EAX,DWORD PTR DS:[ESI+2C]
0057A83A  |.  8D7E 04       |LEA EDI,DWORD PTR DS:[ESI+4]
0057A83D  |.  57            |PUSH EDI
0057A83E  |.  C746 08 00C80>|MOV DWORD PTR DS:[ESI+8],0C800
0057A845  |.  E8 7623F7FF   |CALL iw3mp2.004ECBC0
0057A84A  |.  83C4 04       |ADD ESP,4
0057A84D  |.  85C0          |TEST EAX,EAX
0057A84F  |.  7D 21         |JGE SHORT iw3mp2.0057A872
0057A851  |.  68 B8356E00   |PUSH iw3mp2.006E35B8                    ;  ASCII "Error: Failed to create DirectSound play buffer"
0057A856  |.  6A 09         |PUSH 9
0057A858  |.  E8 B323F8FF   |CALL iw3mp2.004FCC10
The same mistake has been done at least one more time, namely here:


Code:
0057A94F  |.  8B11          MOV EDX,DWORD PTR DS:[ECX]
0057A951  |.  8B42 08       MOV EAX,DWORD PTR DS:[EDX+8]
0057A954  |.  51            PUSH ECX
0057A955  |.  FFD0          CALL EAX
0057A957  |.  8B35 60B55E0D MOV ESI,DWORD PTR DS:[D5EB560]
0057A95D  |>  3BC3          CMP EAX,EBX
0057A95F  |.  891D 78B55E0D MOV DWORD PTR DS:[D5EB578],EBX
0057A965  |.  7D 16         JGE SHORT iw3mp2.0057A97D
0057A967  |.  50            PUSH EAX                                 ; /Arg3
0057A968  |.  68 D0376E00   PUSH iw3mp2.006E37D0                     ; |Arg2 = 006E37D0 ASCII "Error releasing direct sound instance!  %s"
0057A96D  |.  6A 09         PUSH 9                                   ; |Arg1 = 00000009
0057A96F  |.  E8 5C23F8FF   CALL iw3mp2.004FCCD0                     ; \iw3mp2.004FCCD0
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
Payin' The Bills (Register to get rid of this advertisement!)
  #2  
Old 07-15-2008, 04:49 AM
Recruit
 
Join Date: Jul 2008
     xfire: busty bird!!!!
Posts: 1
alexandra nolan is on a distinguished road
Default

i have a problem with cod4 vista audio drivers fix need to know how to fix it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #3  
Old 07-24-2008, 03:10 AM
Recruit
 
Join Date: Jul 2008
     xfire: im9
Posts: 1
armin221 is on a distinguished road
Default

can u tell me how to do that on easy way cuz i dont understand so much
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #4  
Old 08-12-2008, 01:16 AM
Recruit
 
Join Date: Aug 2008
Posts: 1
superpaul6984 is on a distinguished road
Default

hey guys i tried this fix as well as renameing that asi to bak however neither fix worked, also i plugged in a mic and it still didnt work, i removed realtek, no work, reinstalled latest version, nothing im out of ideas here, any more suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #5  
Old 09-01-2008, 11:33 AM
Recruit
 
Join Date: Sep 2008
Posts: 4
ShadowArmy10 is on a distinguished road
Default

can u tell me the easy way to fix the Vista Audio
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #6  
Old 10-21-2008, 01:42 PM
Recruit
 
Join Date: Oct 2008
Posts: 1
Samsara is on a distinguished road
Default

32 Bit Vista Here

To fix the Vista Audio driver problem you have to double-click on that orange loud speaker symbol in your task bar

Don't have one in my task bar.

then click on the folder icon in the upper right edge and activate "Disable front panel jack detection". This will force the driver to load microphone support even without a mic plugged in.
Can't find that folder, tried searching under Sound under control panel and no results.

Furthermore you have to make sure that (in case your using the digital output, like me) your Digital Output device is set as default. To do that, go into the HD Audio Manager (orange load speaker) again, click on Digital Output in the upper bar and on "Set Default Device" next to the volume adjuster after.
Don't have that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #7  
Old 11-17-2008, 09:13 PM
Recruit
 
Join Date: Nov 2008
Posts: 1
bubbaboo is on a distinguished road
Default

orang loud speaker in task bar?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #8  
Old 11-17-2008, 09:28 PM
Corporal Corporal
 
Join Date: Sep 2008
Location: Phoenix, AZ
Posts: 74
SickBoy is on a distinguished road
Default

Quote:
Originally Posted by bubbaboo View Post
orang loud speaker in task bar?
If it is not there you should be able to run it from the start menu under programs. If not it will be on your system drive in the Programs Folder.
__________________
Kills: 43067
Deaths: 15138
Longest Kill Streak: 44

Durka! Durka!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On






All times are GMT -6. The time now is 12:12 PM.

COD4boards.com is an Privacy Policy and Legal
Style designed by: vBSkinworks SEO by vBSEO 3.1.0 Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.