diff options
author | Jörg Müller <nexyon@gmail.com> | 2021-03-11 21:22:56 +0300 |
---|---|---|
committer | Jörg Müller <nexyon@gmail.com> | 2021-03-17 01:21:45 +0300 |
commit | bc5798530663a9b3fec8df60feba510bd681c5ad (patch) | |
tree | 0d2587f7d3c5f9ac55d6bcee8f91afce9cf9d50b /extern/audaspace/src | |
parent | d33339ebf44855b62200a2784c046792d78c75bc (diff) |
Audaspace: add support for WASAPI on Windows
This adds WASAPI as audio backend on Windows.
WASAPI is the modern standard audio API on
Windows introduced with Windows Vista.
Ref T86590
Diffstat (limited to 'extern/audaspace/src')
-rw-r--r-- | extern/audaspace/src/plugin/PluginManagerWindows.cpp.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extern/audaspace/src/plugin/PluginManagerWindows.cpp.in b/extern/audaspace/src/plugin/PluginManagerWindows.cpp.in index 62350fd24fd..dd2df15751c 100644 --- a/extern/audaspace/src/plugin/PluginManagerWindows.cpp.in +++ b/extern/audaspace/src/plugin/PluginManagerWindows.cpp.in @@ -27,9 +27,9 @@ void* PluginManager::openLibrary(const std::string& path) return reinterpret_cast<void*>(LoadLibrary(path.c_str())); } -void *PluginManager::lookupLibrary(void *handle, const std::string &name) +void* PluginManager::lookupLibrary(void *handle, const std::string &name) { - return GetProcAddress(reinterpret_cast<HMODULE>(handle), name.c_str()); + return reinterpret_cast<void*>(GetProcAddress(reinterpret_cast<HMODULE>(handle), name.c_str())); } void PluginManager::closeLibrary(void *handle) |