PulseAudioQt::VolumeObject

Search for usage in LXR

PulseAudioQt::VolumeObject Class Referenceabstract

#include <volumeobject.h>

Inheritance diagram for PulseAudioQt::VolumeObject:

Properties

QStringList channels
 
QList< 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

QStringList channels () const
 
QList< 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 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

QStringList 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()

QStringList PulseAudioQt::VolumeObject::channels ( ) const

Definition at line 50 of file volumeobject.cpp.

◆ channelVolumes()

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

Definition at line 60 of file volumeobject.cpp.

◆ isMuted()

bool PulseAudioQt::VolumeObject::isMuted ( ) const

Whether this object is muted.

Definition at line 35 of file volumeobject.cpp.

◆ isVolumeWritable()

bool PulseAudioQt::VolumeObject::isVolumeWritable ( ) const

Definition at line 45 of file volumeobject.cpp.

◆ rawChannels()

QStringList PulseAudioQt::VolumeObject::rawChannels ( ) const

Definition at line 55 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 30 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 Sat Dec 21 2024 16:57:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.