PulseAudio Qt Bindings
10#include "pulseaudioqt_export.h"
49class PULSEAUDIOQT_EXPORT Context :
public QObject
56 static Context *instance();
63 static void setApplicationId(
const QString &applicationId);
128 pa_context *context()
const;
130 void setCardProfile(quint32 index,
const QString &profile);
131 void setDefaultSink(
const QString &name);
132 void setDefaultSource(
const QString &name);
178 void clientAdded(PulseAudioQt::Client *client);
183 void clientRemoved(PulseAudioQt::Client *client);
188 void cardAdded(PulseAudioQt::Card *card);
193 void cardRemoved(PulseAudioQt::Card *card);
198 void moduleAdded(PulseAudioQt::Module *module);
203 void moduleRemoved(PulseAudioQt::Module *module);
208 void streamRestoreAdded(PulseAudioQt::StreamRestore *streamRestore);
213 void streamRestoreRemoved(PulseAudioQt::StreamRestore *streamRestore);
216 explicit Context(
QObject *parent =
nullptr);
218 class ContextPrivate *
const d;
221 friend class SinkInput;
223 friend class SourceOutput;
225 friend class StreamRestorePrivate;
227 friend class SinkModel;
228 friend class SinkInputModel;
229 friend class SourceModel;
230 friend class SourceOutputModel;
231 friend class StreamRestoreModel;
232 friend class CardModel;
233 friend class ModuleModel;
bool isValid(QStringView ifopt)
The primary namespace of PulseAudioQt.
qint64 normalVolume()
The normal volume (100%, 0 dB).
qint64 maximumUIVolume()
The maximum volume suitable to display in a UI.
qint64 minimumVolume()
The minimum volume (0%).
qint64 maximumVolume()
The maximum volume PulseAudio can store.
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.