https://bugs.winehq.org/show_bug.cgi?id=54454
Bug ID: 54454 Summary: Upgrading a Wine prefix configuration after upgrading to Wine 8.1 causes the sound to not work for "wav" files. Product: Wine Version: 8.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: craigaschulstad@gmail.com Distribution: ---
After upgrading from Wine 8.0 to 8.1 and launching a menu item, the configuration for the Wine prefix is then upgraded. The program itself runs fine, but there no longer is any sound. It should be noted that the particular program with this problem is a game program that utilizes the Windows Media Player functionality to play sounds.
In comparing the system registry files for the previous version, I found that the media player reference was changed from "wmadmod.dll" to "winegstreamer.dll". Following is the text block from the previous system registry.
[Software\Classes\CLSID\{2EEB4ADF-4578-4D10-BCA7-BB955F56320A}] 1674785220 #time=1d931f40aaaf6e4 @="WMAudio Decoder DMO" "Merit"=dword:00800800 "WMSDKMerit"=dword:00000100
[Software\Classes\CLSID\{2EEB4ADF-4578-4D10-BCA7-BB955F56320A}\InprocServer32] 1674785220 #time=1d931f40aaae924 @="C:\windows\system32\wmadmod.dll" "ThreadingModel"="Both"
And following was the updated text block after the configuration was upgraded.
[Software\Classes\CLSID\{2EEB4ADF-4578-4D10-BCA7-BB955F56320A}] 1675650169 #time=1d939d1e8450654 @="CWMADecMediaObject" "Merit"=dword:00800800 "WMSDKMerit"=dword:00000100
[Software\Classes\CLSID\{2EEB4ADF-4578-4D10-BCA7-BB955F56320A}\InprocServer32] 1675650169 #time=1d939d1e845082a @="C:\windows\system32\winegstreamer.dll" "ThreadingModel"="Both"
The interim fix is to manually revise the registry entries back to referencing the "dll" file for the Windows Media Player. Once that was done, the program again produces sound. I cannot state for sure what type of code correction needs to be done, but possibly a check of the registry value for the literal "wmadmod.dll" might need to done before replacing that value with "winegstreamer.dll"
Regards.