https://bugs.winehq.org/show_bug.cgi?id=44277
kakurasan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #60122|0 |1 is obsolete| |
--- Comment #9 from kakurasan@gmail.com --- Created attachment 60140 --> https://bugs.winehq.org/attachment.cgi?id=60140 partially implement XA2SRC_SetChannelVolumes()
I added some checks for Channels and pVolumes, and changed to take the highest volume when the volumes are not the same. I think this is slightly better than doing nothing or using the lowest or the average. The coding style is also changed for XAudio2.
Andrew, is the patch still incomplete (especially input validation and tests)? If OK, I'd like to send this to wine-devel list later.