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}
21
22ProfilePrivate::ProfilePrivate(Profile *q)
23 : q(q)
24{
25}
26
27ProfilePrivate::~ProfilePrivate()
28{
29}
30
31QString Profile::description() const
32{
33 return d->m_description;
34}
35
36quint32 Profile::priority() const
37{
38 return d->m_priority;
39}
40
41Profile::Availability Profile::availability() const
42{
43 return d->m_availability;
44}
45
46quint32 Profile::sinkCount() const
47{
48 return d->m_sinkCount;
49}
50
51quint32 Profile::sourceCount() const
52{
53 return d->m_sourceCount;
54}
55
56} // 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 Fri Dec 6 2024 12:11:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.