diff options
author | Simon Rettberg | 2022-08-31 15:58:15 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-08-31 15:58:15 +0200 |
commit | da330b0a0ab5426b1502f2f97254478940f1f094 (patch) | |
tree | c175727f9aa50972984496a6914f2257c50fe003 /src/mainwindow.h | |
parent | Big refactor, minor design tweak along the way (diff) | |
download | pavucontrol-slx-da330b0a0ab5426b1502f2f97254478940f1f094.tar.gz pavucontrol-slx-da330b0a0ab5426b1502f2f97254478940f1f094.tar.xz pavucontrol-slx-da330b0a0ab5426b1502f2f97254478940f1f094.zip |
WIP: Support input too
TODO: Layout, UI, etc.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 6fbe9f2..5eede3f 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -8,9 +8,8 @@ class SlxOutput; namespace PulseAudioQt { -class Sink; +class Device; class Port; -class Source; class Card; class Profile; } @@ -23,8 +22,9 @@ public: MainWindow(); virtual ~MainWindow(); - SlxOutput* getDevice(const PulseAudioQt::Card *card, const PulseAudioQt::Sink *sink, const PulseAudioQt::Port *port); + SlxOutput* getDevice(const PulseAudioQt::Card *card, const PulseAudioQt::Device *device, const PulseAudioQt::Port *port, bool output); SlxOutput* getCardProfile(const PulseAudioQt::Card *card, const PulseAudioQt::Profile *profile); + SlxOutput* getCardPort(const PulseAudioQt::Card *card, const PulseAudioQt::Port *port); void insertItemWidget(SlxOutput* w, bool isDevice); |