On Sun Aug 23 13:30:31 2026 +0000, Nello De Gregoris wrote:
Looked into ir50_32, so the idea would be exporting something like winegstreamer_create_wma_decoder next to winegstreamer_create_video_decoder and calling that instead of CoCreateInstance? Though one thing I'm unsure about is how to reach the export without importing winegstreamer in every dll using FAudio (since there's a lot of them). Would GetProcAddress be acceptable? If we're loading the library dynamically maybe we could call wmadmod DllGetClassObject instead, and change wmadmod so it itself calls winegstreamer custom export instead of CoCreateInstance, this would ensure it would be easier to change it in the future if we want to.
That change could perhaps go upstream FAudio after all, if that's not considered too ugly and if it works on Windows too? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11717#note_149623