Module: wine
Branch: master
Commit: a300815c0fac4e31c3e174b6af6e94f4a0629774
URL: https://gitlab.winehq.org/wine/wine/-/commit/a300815c0fac4e31c3e174b6af6e94…
Author: Yuxuan Shui <yshui(a)codeweavers.com>
Date: Tue Jan 16 00:00:39 2024 +0000
dmime: AudioPathConfig is not AudioPath.
AudioPaths are created from IDirectMusicPerformance::CreateAudioPath and CreateStandardAudioPath, and
don't have an IDirectMusicObject or an IPersistStream interface. On the other hand AudioPathConfigs
are loaded from files, and do have IDirectMusicObject and IPersistStream.
They were somehow confused with each other and implemented in the same struct, this commit fixes that.
---
dlls/dmime/audiopath.c | 101 ++++++++++++++++++++++++++++++++++++++-------
dlls/dmime/dmime_main.c | 4 +-
dlls/dmime/dmime_private.h | 1 +
dlls/dmime/tests/dmime.c | 12 +++---
4 files changed, 93 insertions(+), 25 deletions(-)