diff options
author | Chris Robinson <[email protected]> | 2017-06-28 12:42:20 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-06-28 12:42:20 -0700 |
commit | ebee8da05cc02fa8da0cbdc47dd9f379e20b962a (patch) | |
tree | 0e7549fd12ab1155dbb103414a48d5368ce47134 /router/router.c | |
parent | 7cadbebe9f24a61b6b024359496a7a32d4eae5ee (diff) |
Start a router DLL
Experimental, Windows only. This is intended as an alternative to Creative's
router DLL, fixing a few issues with it (falsely reporting extensions that
aren't supported, not being able to query the ALC version without a device, and
not being able to use ALC extension functions).
When enabled OpenAL Soft's DLL is built as soft_oal.dll, while the router is
OpenAL32.dll.
Diffstat (limited to 'router/router.c')
-rw-r--r-- | router/router.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/router/router.c b/router/router.c new file mode 100644 index 00000000..cb1bf763 --- /dev/null +++ b/router/router.c @@ -0,0 +1,19 @@ + +#define WIN32_LEAN_AND_MEAN +#include <windows.h> + +BOOL APIENTRY DllMain(HINSTANCE hModule, DWORD reason, LPVOID lpReserved) +{ + switch(reason) + { + case DLL_PROCESS_ATTACH: + break; + + case DLL_THREAD_DETACH: + break; + + case DLL_PROCESS_DETACH: + break; + } + return TRUE; +} |