yolobs-studio/UI/window-basic-adv-audio.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
769 B
C++
Raw Normal View History

2016-02-23 23:16:51 +00:00
#pragma once
#include <obs.hpp>
#include <QDialog>
#include <vector>
class OBSAdvAudioCtrl;
class QGridLayout;
// "Basic advanced audio"? ...
class OBSBasicAdvAudio : public QDialog {
Q_OBJECT
private:
QWidget *controlArea;
QGridLayout *mainLayout;
OBSSignal sourceAddedSignal;
OBSSignal sourceRemovedSignal;
2019-09-22 21:19:10 +00:00
std::vector<OBSAdvAudioCtrl *> controls;
2016-02-23 23:16:51 +00:00
inline void AddAudioSource(obs_source_t *source);
static bool EnumSources(void *param, obs_source_t *source);
static void OBSSourceAdded(void *param, calldata_t *calldata);
static void OBSSourceRemoved(void *param, calldata_t *calldata);
public slots:
void SourceAdded(OBSSource source);
void SourceRemoved(OBSSource source);
public:
OBSBasicAdvAudio(QWidget *parent);
~OBSBasicAdvAudio();
};