mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-08 12:24:09 +00:00
win-wasapi: Fix legacy CMake
Follow-up to 1d5d4b29e7
:
win-wasapi: Handle changes to the default monitoring device
Splits the WASAPINotify class out of win-wasapi.cpp and makes it a
shared object in the plugin, then also creates a callback to reset
audio monitoring if the default output device changes.
This commit is contained in:
parent
a1973ea952
commit
206af52467
|
@ -3,7 +3,8 @@ project(win-wasapi)
|
||||||
add_library(win-wasapi MODULE)
|
add_library(win-wasapi MODULE)
|
||||||
add_library(OBS::wasapi ALIAS win-wasapi)
|
add_library(OBS::wasapi ALIAS win-wasapi)
|
||||||
|
|
||||||
target_sources(win-wasapi PRIVATE win-wasapi.cpp enum-wasapi.cpp enum-wasapi.hpp plugin-main.cpp)
|
target_sources(win-wasapi PRIVATE win-wasapi.cpp wasapi-notify.cpp wasapi-notify.hpp enum-wasapi.cpp enum-wasapi.hpp
|
||||||
|
plugin-main.cpp)
|
||||||
|
|
||||||
set(MODULE_DESCRIPTION "OBS WASAPI module")
|
set(MODULE_DESCRIPTION "OBS WASAPI module")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue