10#include "volumeobject_p.h"
15 : VolumeObject(parent)
16 , d(new StreamPrivate(this))
18 VolumeObject::d->m_volumeWritable =
false;
25StreamPrivate::StreamPrivate(Stream *q)
30StreamPrivate::~StreamPrivate()
34Client *Stream::client()
const
36 const auto &clients = Context::instance()->d->m_clients.data();
37 auto it = std::find_if(clients.begin(), clients.end(), [
this](Client *client) {
38 return client->index() == d->m_clientIndex;
40 if (it != clients.end()) {
46bool Stream::isVirtualStream()
const
48 return d->m_virtualStream;
51quint32 Stream::deviceIndex()
const
53 return d->m_deviceIndex;
56bool Stream::isCorked()
const
61bool Stream::hasVolume()
const
63 return d->m_hasVolume;
The primary namespace of PulseAudioQt.
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.