PulseAudio Qt Bindings

sinkinput.h
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#ifndef SINKINPUT_H
8#define SINKINPUT_H
9
10#include "stream.h"
11
12struct pa_sink_input_info;
13
14namespace PulseAudioQt
15{
16/**
17 * A SinkInput stream.
18 */
19class PULSEAUDIOQT_EXPORT SinkInput : public Stream
20{
21 Q_OBJECT
22
23public:
24 ~SinkInput() override;
25
26 void setVolume(qint64 volume) override;
27 void setMuted(bool muted) override;
28 void setChannelVolume(int channel, qint64 volume) override;
29 void setDeviceIndex(quint32 deviceIndex) override;
30 void setChannelVolumes(const QList<qint64> &channelVolumes) override;
31
32private:
33 SinkInput(QObject *parent);
34
35 class SinkInputPrivate *const d;
36 friend class MapBase<SinkInput, pa_sink_input_info>;
37};
38
39} // PulseAudioQt
40
41#endif // SINKINPUT_H
Maps a specific index to a specific object pointer.
Definition maps.h:68
A SinkInput stream.
Definition sinkinput.h:20
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 May 24 2024 11:54:31 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.