File indexing completed on 2024-10-06 12:48:03
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 #pragma once 0007 #include "server.h" 0008 #include <pulse/introspect.h> 0009 0010 namespace PulseAudioQt 0011 { 0012 class ServerPrivate 0013 { 0014 public: 0015 explicit ServerPrivate(Server *q); 0016 virtual ~ServerPrivate(); 0017 0018 Server *q; 0019 0020 QString m_defaultSinkName; 0021 QString m_defaultSourceName; 0022 Sink *m_defaultSink; 0023 Source *m_defaultSource; 0024 bool m_isPipeWire = false; 0025 0026 void update(const pa_server_info *info); 0027 }; 0028 }