Просмотр исходного кода

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.
jp9000 11 лет назад
Родитель
Сommit
71e32f8948
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      obs/window-basic-main.cpp

+ 4 - 0
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));