-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the PortAudio DLL a part of the FlexASIO DLL assembly.
Fixes #47.
- Loading branch information
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | ||
<!-- | ||
This ensures that, when FlexASIO.dll is loaded, the Windows DLL Loader loads the PortAudio DLL that ships with FlexASIO. | ||
Otherwise, we can run into a subtle problem with some applications that also link with PortAudio directly; | ||
indeed, in that case, the default behaviour of the Windows DLL Loader is to reuse the DLL that's already | ||
loaded, which could be different from the one that FlexASIO expects. Unpredictable behaviour ensues. | ||
See https://github.com/dechamps/FlexASIO/issues/47 for details. | ||
Note that we specify both 32-bit and 64-bit DLLs here. Only one of those actually exists, but the Windows | ||
loader seems to be fine with ignoring non-existent files. | ||
--> | ||
<file name="portaudio_x64.dll" /> | ||
<file name="portaudio_x86.dll" /> | ||
</assembly> |