FS#62878 - wine 4.9-1 application using xaudio slow with faudio 19.06-1, shows FAudio_CommitChanges warning

Attached to Project: Community Packages
Opened by John Thomson (johnth) - Wednesday, 12 June 2019, 03:25 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 16 July 2019, 17:08 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Wine 4.9 introduced support for Faudio 19.06
https://source.winehq.org/git/wine.git/commit/d341efeff071532801fdc224062eb9e60dc5aea0

wine-4.9-1 was built before faudio-19.06 was built, so the new FAudio_CommitOperationSet is not used.

Faudio 19.06 throws a warning when FAudio_CommitChanges is called.
This slows down running programs that use XAudio.

The next rebuild of wine should include and use FAudio_CommitOperationSet,
and avoid this warning.


FAudio warning in wine console:
INFO: IF YOU CAN READ THIS, YOUR PROGRAM IS ABOUT TO BREAK!

Either you or somebody else is using FAudio_CommitChanges,
when they should be using FAudio_CommitOperationSet instead.

If your program calls this, move to CommitOperationSet.

If somebody else is calling this, find out who it is and
file a bug report with them ASAP.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 16 July 2019, 17:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  wine 4.10
Comment by John Thomson (johnth) - Wednesday, 12 June 2019, 07:49 GMT
Downgrading FAudio to 19.05 returns performance to expected.
https://archive.archlinux.org/packages/f/faudio/faudio-19.05-1-x86_64.pkg.tar.xz

The next build of wine should automatically pick up the newly available FAudio feature, and use that.

Loading...