https://bugs.winehq.org/show_bug.cgi?id=52391
Bug ID: 52391 Summary: No sound effects in Hyperdimension Neptunia Re;Birth 1 since import of FAudio Product: Wine Version: 7.0-rc5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: xactengine Assignee: wine-bugs@winehq.org Reporter: j-r@online.de Distribution: ---
Since the import of FAudio Hyperdimension Neptunia Re;Birth 1 (GOG version) triggers the following FAudio assertion since the import of FAUDIO in commit 6b45777121fcd50d9b7d5b649c6710063b549892 already on the title screen while highlighting or selecting a menu entry
Assertion failed: (voice->src.wmadec != NULL && (pBufferWMA != NULL || (voice->src.format->wFormatTag == FAUDIO_FORMAT_XMAUDIO2)) || (voice->src.wmadec == NULL && (pBufferWMA == NULL && voice->src.format->wFormatTag != FAUDIO_FORMAT_XMAUDIO2) ), file libs/faudio/src/FAudio.c, line 2456
Note that this assertion was changed in the import of FAudio 21.12 in da89825f98e4f0cb3875735345a455512b36b665 (erronously declared as import of 21.11), without effect on this game (contrary to what https://bugs.winehq.org/show_bug.cgi?id=50757#c2 claims). There is still no sound in 7.0-rc5 (and reverting babaf916ab12c7a9128409f717878919ccc5826b which hides the assertion shows it still triggering the extended assertion condition).
Sound works before 6b45777121fcd50d9b7d5b649c6710063b549892 (also see https://bugs.winehq.org/show_bug.cgi?id=50416 for caveats).
Unfortunately 6b45777121fcd50d9b7d5b649c6710063b549892 suffers from frequent crashing already on the title screen (haven't tested ingame; might be the same as https://bugs.winehq.org/show_bug.cgi?id=50757; despite it claiming to be fixed with exactly that commit; afaict nobody ever confirmed it being fixed) . Fortunately this crashing seems to be fixed or at least much reduced with 7.0-rc5 on my (very old and slow) system.
Sound works fine in 7.0-rc5 after winetricks xact and manually setting xactengine3_7 to native.
Not sure about the relation to this bug, but 7.0-rc5 is showing the following error whenever the game attempts to play a sound
00c8:err:ole:com_get_class_object class {2eeb4adf-4578-4d10-bca7-bb955f56320a} not registered 00c8:err:ole:com_get_class_object no class object {2eeb4adf-4578-4d10-bca7-bb955f56320a} could be created for context 0x1
which I think wasn't there before the regression.