From 71e32f89487bb4dc42e349a697f28cced0985f9b Mon Sep 17 00:00:00 2001 From: jp9000 Date: Tue, 29 Apr 2014 02:26:06 -0700 Subject: [PATCH] Hide audio captures as sources in basic mode Still not 100% decided on this, but I already see people getting confused over this, so I'm just going to hide them for the time being. --- obs/window-basic-main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/obs/window-basic-main.cpp b/obs/window-basic-main.cpp index 7d0450157..5ea59c7ce 100644 --- a/obs/window-basic-main.cpp +++ b/obs/window-basic-main.cpp @@ -961,6 +961,10 @@ void OBSBasic::AddSourcePopupMenu(const QPoint &pos) if (strcmp(type, "scene") == 0) continue; + if (strcmp(type, App()->InputAudioSource()) == 0) + continue; + if (strcmp(type, App()->OutputAudioSource()) == 0) + continue; QAction *popupItem = new QAction(QT_UTF8(name), this); popupItem->setData(QT_UTF8(type)); -- GitLab