audio-monitoring: Add ability to monitor Outputs

(Note: This commits also modifies the linux-pulseaudio, mac-capture, and
win-wasapi plugins)

Do not prevent the targeted output device from being monitored if the
selected monitor output device is a different one.

Closes jp9000/obs-studio#872
This commit is contained in:
Shaolin
2017-04-04 20:14:11 -03:00
committed by jp9000
parent 162450c882
commit e006d961a4
9 changed files with 248 additions and 44 deletions

View File

@@ -590,7 +590,7 @@ void RegisterWASAPIOutput()
info.type = OBS_SOURCE_TYPE_INPUT;
info.output_flags = OBS_SOURCE_AUDIO |
OBS_SOURCE_DO_NOT_DUPLICATE |
OBS_SOURCE_DO_NOT_MONITOR;
OBS_SOURCE_DO_NOT_SELF_MONITOR;
info.get_name = GetWASAPIOutputName;
info.create = CreateWASAPIOutput;
info.destroy = DestroyWASAPISource;