Search for usage in LXR

PulseAudioQt::VolumeObject Class Referenceabstract

#include <volumeobject.h>

Inheritance diagram for PulseAudioQt::VolumeObject:


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


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

Public Member Functions

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

bool PulseAudioQt::VolumeObject::isMuted ( ) const

Whether this object is muted.

Definition at line 35 of file volumeobject.cpp.

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.

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.

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-2021 The KDE developers.
Generated on Tue May 11 2021 23:05:33 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.