- Add WASAPI audio capture for windows, input and output - Check for null pointer in os_dlopen - Add exception-safe 'WinHandle' and 'CoTaskMemPtr' helper classes that will automatically call CloseHandle on handles and call CoTaskMemFree on certain types of memory returned from windows functions - Changed the wide <-> MBS/UTF8 conversion functions so that you use buffers (like these functions are *supposed* to behave), and changed the ones that allocate to a different naming scheme to be safe
18 lines
289 B
CMake
18 lines
289 B
CMake
project(win-wasapi)
|
|
|
|
set(win-wasapi_HEADERS
|
|
enum-wasapi.hpp)
|
|
|
|
set(win-wasapi_SOURCES
|
|
win-wasapi.cpp
|
|
enum-wasapi.cpp
|
|
plugin-main.cpp)
|
|
|
|
add_library(win-wasapi MODULE
|
|
${win-wasapi_SOURCES}
|
|
${win-wasapi_HEADERS})
|
|
target_link_libraries(win-wasapi
|
|
libobs)
|
|
|
|
install_obs_plugin(win-wasapi)
|