PulseAudio Qt Bindings
source.cpp
22 connect(Context::instance()->server(), &Server::defaultSourceChanged, this, &Source::defaultChanged);
37 Context::instance()->d->setGenericVolume(index(), -1, volume, VolumeObject::d->cvolume(), &pa_context_set_source_volume_by_index);
52 Context::instance()->d->setGenericPort(index(), port->name(), &pa_context_set_source_port_by_index);
57 Context::instance()->d->setGenericVolume(index(), channel, volume, VolumeObject::d->cvolume(), &pa_context_set_source_volume_by_index);
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setActivePortIndex(quint32 port_index) override
Set the currently active port, by index.
Definition: source.cpp:45
void setDefault(bool enable) override
Set whether this is the default device.
Definition: source.cpp:65
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 9 2023 04:12:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 9 2023 04:12:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.