PulseAudioQt::VolumeObject

Search for usage in LXR

PulseAudioQt::VolumeObject Class Referenceabstract

#include <volumeobject.h>

Inheritance diagram for PulseAudioQt::VolumeObject:

Properties

QList< QStringchannels
 
QList< qint64channelVolumes
 
bool muted
 
QStringList rawChannels
 
qint64 volume
 
bool volumeWritable
 

Signals

void channelsChanged ()
 
void channelVolumesChanged ()
 
void isVolumeWritableChanged ()
 
void mutedChanged ()
 
void rawChannelsChanged ()
 
void volumeChanged ()
 

Public Member Functions

QList< QStringchannels () const
 
QList< qint64channelVolumes () const
 
bool isMuted () const
 
bool isVolumeWritable () const
 
QStringList rawChannels () const
 
virtual Q_INVOKABLE void setChannelVolume (int channel, qint64 volume)=0
 
virtual void setChannelVolumes (const QList< qint64 > &channelVolumes)=0
 
virtual void setMuted (bool muted)=0
 
virtual void setVolume (qint64 volume)=0
 
qint64 volume () const
 

Detailed Description

An PulseObject that has a volume.

Can be a Device or a Stream.

Definition at line 17 of file volumeobject.h.

Property Documentation

◆ channels

QList<QString> PulseAudioQt::VolumeObject::channels
read

Definition at line 23 of file volumeobject.h.

◆ channelVolumes

QList<qint64> PulseAudioQt::VolumeObject::channelVolumes
readwrite

Definition at line 24 of file volumeobject.h.

◆ muted

bool PulseAudioQt::VolumeObject::muted
readwrite

Definition at line 21 of file volumeobject.h.

◆ rawChannels

QStringList PulseAudioQt::VolumeObject::rawChannels
read

Definition at line 25 of file volumeobject.h.

◆ volume

qint64 PulseAudioQt::VolumeObject::volume
readwrite

Definition at line 20 of file volumeobject.h.

◆ volumeWritable

bool PulseAudioQt::VolumeObject::volumeWritable
read

Definition at line 22 of file volumeobject.h.

Constructor & Destructor Documentation

◆ ~VolumeObject()

PulseAudioQt::VolumeObject::~VolumeObject ( )
override

Definition at line 26 of file volumeobject.cpp.

Member Function Documentation

◆ channels()

QList< QString > PulseAudioQt::VolumeObject::channels ( ) const

Definition at line 51 of file volumeobject.cpp.

◆ channelVolumes()

QList< qint64 > PulseAudioQt::VolumeObject::channelVolumes ( ) const

Definition at line 61 of file volumeobject.cpp.

◆ isMuted()

bool PulseAudioQt::VolumeObject::isMuted ( ) const

Whether this object is muted.

Definition at line 36 of file volumeobject.cpp.

◆ isVolumeWritable()

bool PulseAudioQt::VolumeObject::isVolumeWritable ( ) const

Definition at line 46 of file volumeobject.cpp.

◆ rawChannels()

QStringList PulseAudioQt::VolumeObject::rawChannels ( ) const

Definition at line 56 of file volumeobject.cpp.

◆ setMuted()

virtual void PulseAudioQt::VolumeObject::setMuted ( bool muted)
pure virtual

Set whether this object is muted.

Implemented in PulseAudioQt::Sink, PulseAudioQt::SinkInput, PulseAudioQt::Source, and PulseAudioQt::SourceOutput.

◆ setVolume()

virtual void PulseAudioQt::VolumeObject::setVolume ( qint64 volume)
pure virtual

Set the volume for this object.

This affects all channels. The volume must be between PulseAudioQt::minimumVolume() and PulseAudioQt::maximumVolume().

Implemented in PulseAudioQt::Sink, PulseAudioQt::SinkInput, PulseAudioQt::Source, and PulseAudioQt::SourceOutput.

◆ volume()

qint64 PulseAudioQt::VolumeObject::volume ( ) const

This object's volume.

Definition at line 31 of file volumeobject.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:52:10 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.