diff options
Diffstat (limited to 'src/PulseAudioQt/cardport.cpp')
-rw-r--r-- | src/PulseAudioQt/cardport.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/PulseAudioQt/cardport.cpp b/src/PulseAudioQt/cardport.cpp new file mode 100644 index 0000000..863e247 --- /dev/null +++ b/src/PulseAudioQt/cardport.cpp @@ -0,0 +1,26 @@ +/* + SPDX-FileCopyrightText: 2018 Nicolas Fella <nicolas.fella@gmx.de> + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ +#include "cardport.h" +#include "port_p.h" + +namespace PulseAudioQt +{ +CardPort::CardPort(QObject *parent) + : Port(parent) +{ +} + +CardPort::~CardPort() +{ +} + +void CardPort::update(const pa_card_port_info *info) +{ + Port::d->setInfo(info); + PulseObject::d->updateProperties(info); +} + +} // PulseAudioQt |