PulseAudio Qt Bindings

profile.cpp
1/*
2 SPDX-FileCopyrightText: 2014-2015 Harald Sitter <sitter@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#include "profile.h"
8#include "profile_p.h"
9
10namespace PulseAudioQt
11{
12Profile::Profile(QObject *parent)
13 : PulseObject(parent)
14 , d(new ProfilePrivate(this))
15{
16}
17
18Profile::~Profile()
19{
20 delete d;
21}
22
23ProfilePrivate::ProfilePrivate(Profile *q)
24 : q(q)
25{
26}
27
28ProfilePrivate::~ProfilePrivate()
29{
30}
31
32QString Profile::description() const
33{
34 return d->m_description;
35}
36
37quint32 Profile::priority() const
38{
39 return d->m_priority;
40}
41
42Profile::Availability Profile::availability() const
43{
44 return d->m_availability;
45}
46
47quint32 Profile::sinkCount() const
48{
49 return d->m_sinkCount;
50}
51
52quint32 Profile::sourceCount() const
53{
54 return d->m_sourceCount;
55}
56
57} // PulseAudioQt
The primary namespace of PulseAudioQt.
Definition card.cpp:17
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:07 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.