summaryrefslogtreecommitdiffstats
path: root/src/PulseAudioQt/port.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2022-08-18 20:27:25 +0200
committerSimon Rettberg2022-08-18 20:27:25 +0200
commitc48cebd620d3f5330c104d85ac32f0aaffadaa14 (patch)
tree8fc74d8aa05fcdc75bfcdf93fdc89c0f071692eb /src/PulseAudioQt/port.cpp
parentWhen changing default output of card, also set default sink (diff)
downloadpavucontrol-slx-c48cebd620d3f5330c104d85ac32f0aaffadaa14.tar.gz
pavucontrol-slx-c48cebd620d3f5330c104d85ac32f0aaffadaa14.tar.xz
pavucontrol-slx-c48cebd620d3f5330c104d85ac32f0aaffadaa14.zip
Replace everything with new "slxmix" (work in progress)
Diffstat (limited to 'src/PulseAudioQt/port.cpp')
-rw-r--r--src/PulseAudioQt/port.cpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/PulseAudioQt/port.cpp b/src/PulseAudioQt/port.cpp
new file mode 100644
index 0000000..0fff169
--- /dev/null
+++ b/src/PulseAudioQt/port.cpp
@@ -0,0 +1,35 @@
+/*
+ SPDX-FileCopyrightText: 2014-2015 Harald Sitter <sitter@kde.org>
+
+ SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
+*/
+
+#include "port.h"
+#include "port_p.h"
+namespace PulseAudioQt
+{
+Port::Port(QObject *parent)
+ : Profile(parent)
+ , d(new PortPrivate(this))
+{
+}
+
+Port::~Port()
+{
+}
+
+PortPrivate::PortPrivate(Port *q)
+ : q(q)
+{
+}
+
+PortPrivate::~PortPrivate()
+{
+}
+
+Port::Type Port::type() const
+{
+ return d->m_type;
+}
+
+} // PulseAudioQt