win-wasapi: Mark audio outputs as unmonitorable

(Note: This commit also modifies mac-capture and linux-pulseaudio)

This prevents outputs from being monitored, preventing a potential
feedback loop.
This commit is contained in:
jp9000
2017-02-05 21:44:16 -08:00
parent d2934eca7e
commit 39d76cc76f
3 changed files with 6 additions and 3 deletions

View File

@@ -589,7 +589,8 @@ void RegisterWASAPIOutput()
info.id = "wasapi_output_capture";
info.type = OBS_SOURCE_TYPE_INPUT;
info.output_flags = OBS_SOURCE_AUDIO |
OBS_SOURCE_DO_NOT_DUPLICATE;
OBS_SOURCE_DO_NOT_DUPLICATE |
OBS_SOURCE_DO_NOT_MONITOR;
info.get_name = GetWASAPIOutputName;
info.create = CreateWASAPIOutput;
info.destroy = DestroyWASAPISource;