PulseAudioQt::Source
#include <source.h>

Public Member Functions | |
bool | isDefault () const override |
void | setActivePortIndex (quint32 port_index) override |
void | setChannelVolume (int channel, qint64 volume) override |
void | setChannelVolumes (const QVector< qint64 > &volumes) override |
void | setDefault (bool enable) override |
void | setMuted (bool muted) override |
void | setVolume (qint64 volume) override |
![]() | |
quint32 | activePortIndex () const |
quint32 | cardIndex () const |
QString | description () const |
QString | formFactor () const |
QList< Port * > | ports () const |
Q_ENUM (State) | |
State | state () const |
![]() | |
QVector< QString > | channels () const |
QVector< qint64 > | channelVolumes () const |
bool | isMuted () const |
bool | isVolumeWritable () const |
QStringList | rawChannels () const |
qint64 | volume () const |
Additional Inherited Members | |
![]() | |
enum | State { InvalidState = 0, RunningState, IdleState, SuspendedState, UnknownState } |
![]() | |
quint32 | activePortIndex |
quint32 | cardIndex |
bool | default |
QString | description |
QString | formFactor |
QList< Port * > | ports |
State | state |
![]() | |
QVector< QString > | channels |
QVector< qint64 > | channelVolumes |
bool | muted |
QStringList | rawChannels |
qint64 | volume |
bool | volumeWritable |
![]() | |
void | activePortIndexChanged () |
void | cardIndexChanged () |
void | defaultChanged () |
void | descriptionChanged () |
void | formFactorChanged () |
void | portsChanged () |
void | stateChanged () |
![]() | |
void | channelsChanged () |
void | channelVolumesChanged () |
void | isVolumeWritableChanged () |
void | mutedChanged () |
void | rawChannelsChanged () |
void | volumeChanged () |
Detailed Description
A PulseAudio source.
This class is based on https://freedesktop.org/software/pulseaudio/doxygen/structpa__source__info.html.
Member Function Documentation
◆ isDefault()
|
overridevirtual |
Whether this is the default device.
Implements PulseAudioQt::Device.
Definition at line 60 of file source.cpp.
◆ setActivePortIndex()
|
overridevirtual |
Set the currently active port, by index.
Implements PulseAudioQt::Device.
Definition at line 45 of file source.cpp.
◆ setDefault()
|
overridevirtual |
Set whether this is the default device.
Implements PulseAudioQt::Device.
Definition at line 65 of file source.cpp.
◆ setMuted()
|
overridevirtual |
Set whether this object is muted.
Implements PulseAudioQt::VolumeObject.
Definition at line 40 of file source.cpp.
◆ setVolume()
|
overridevirtual |
Set the volume for this object.
This affects all channels. The volume must be between PulseAudioQt::minimumVolume() and PulseAudioQt::maximumVolume().
Implements PulseAudioQt::VolumeObject.
Definition at line 35 of file source.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Sep 25 2023 03:58:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.