Skip to content

Commit 1fe415f

Browse files
committed
make sure dsound exports are ordered correctly
1 parent 7d7dd8f commit 1fe415f

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.24)
22

3-
project(pluginloader VERSION 1.0.4)
3+
project(pluginloader VERSION 1.0.5)
44

55
add_library(_pluginloader_base INTERFACE)
66
set(CMAKE_EXPORT_COMPILE_COMMANDS True)
@@ -58,7 +58,7 @@ endfunction()
5858

5959
pluginloader_add_impl(no_proxy "src/proxy/none.cpp")
6060
pluginloader_add_impl(d3d11 "src/proxy/d3d11.cpp")
61-
pluginloader_add_impl(dsound "src/proxy/dsound.cpp")
61+
pluginloader_add_impl(dsound "src/proxy/dsound.cpp" "src/proxy/dsound.def")
6262
pluginloader_add_impl(xinput1_3 "src/proxy/xinput1_3.cpp" "src/proxy/xinput1_3.def")
6363

6464
install(

src/proxy/dsound.def

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
LIBRARY DSOUND
2+
EXPORTS
3+
DirectSoundCreate @1
4+
DirectSoundEnumerateA @2
5+
DirectSoundEnumerateW @3
6+
DllCanUnloadNow @4
7+
DllGetClassObject @5
8+
DirectSoundCaptureCreate @6
9+
DirectSoundCaptureEnumerateA @7
10+
DirectSoundCaptureEnumerateW @8
11+
GetDeviceID @9
12+
DirectSoundFullDuplexCreate @10
13+
DirectSoundCreate8 @11
14+
DirectSoundCaptureCreate8 @12

0 commit comments

Comments
 (0)