PulseAudioQt::VolumeObject

Search for usage in LXR

PulseAudioQt::VolumeObject Class Referenceabstract

#include <volumeobject.h>

Inheritance diagram for PulseAudioQt::VolumeObject:

Properties

QVector< QStringchannels
 
QVector< qint64 > channelVolumes
 
bool muted
 
QStringList rawChannels
 
qint64 volume
 
bool volumeWritable
 

Signals

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

Public Member Functions

QVector< QStringchannels () const
 
QVector< qint64 > channelVolumes () const
 
bool isMuted () const
 
bool isVolumeWritable () const
 
QStringList rawChannels () const
 
virtual Q_INVOKABLE void setChannelVolume (int channel, qint64 volume)=0
 
virtual void setChannelVolumes (const QVector< 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.

Member Function Documentation

◆ isMuted()

bool PulseAudioQt::VolumeObject::isMuted ( ) const

Whether this object is muted.

Definition at line 36 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.


The documentation for this class was generated from the following files:
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

KDE's Doxygen guidelines are available online.