File indexing completed on 2024-07-14 04:37:30

0001 /*
0002     SPDX-FileCopyrightText: 2018 Nicolas Fella <nicolas.fella@gmx.de>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 #include "cardport.h"
0007 #include "port_p.h"
0008 
0009 namespace PulseAudioQt
0010 {
0011 CardPort::CardPort(QObject *parent)
0012     : Port(parent)
0013 {
0014 }
0015 
0016 CardPort::~CardPort()
0017 {
0018 }
0019 
0020 void CardPort::update(const pa_card_port_info *info)
0021 {
0022     Port::d->setInfo(info);
0023     PulseObject::d->updateProperties(info);
0024 }
0025 
0026 } // PulseAudioQt