PulseAudio Qt Bindings

sourceoutput.h
1 /*
2  SPDX-FileCopyrightText: 2014-2015 Harald Sitter <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6 
7 #ifndef SOURCEOUTPUT_H
8 #define SOURCEOUTPUT_H
9 
10 #include "stream.h"
11 
12 struct pa_source_output_info;
13 
14 namespace PulseAudioQt
15 {
16 /**
17  * A SourceOutput Stream.
18  */
19 class PULSEAUDIOQT_EXPORT SourceOutput : public Stream
20 {
21  Q_OBJECT
22 
23 public:
24  ~SourceOutput();
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 QVector<qint64> &channelVolumes) override;
31 
32 private:
33  explicit SourceOutput(QObject *parent);
34 
35  class SourceOutputPrivate *const d;
36  friend class MapBase<SourceOutput, pa_source_output_info>;
37 };
38 
39 } // PulseAudioQt
40 
41 #endif // SOURCEOUTPUT_H
The primary namespace of PulseAudioQt.
Definition: card.cpp:16
Maps a specific index to a specific object pointer.
Definition: maps.h:67
A SourceOutput Stream.
Definition: sourceoutput.h:19
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:15:49 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.