10#include "volumeobject_p.h"
15 : VolumeObject(parent)
16 , d(new StreamPrivate(this))
18 VolumeObject::d->m_volumeWritable =
false;
26StreamPrivate::StreamPrivate(Stream *q)
31StreamPrivate::~StreamPrivate()
35Client *Stream::client()
const
37 const auto &clients = Context::instance()->d->m_clients.data();
38 auto it = std::find_if(clients.begin(), clients.end(), [
this](Client *client) {
39 return client->index() == d->m_clientIndex;
41 if (it != clients.end()) {
47bool Stream::isVirtualStream()
const
49 return d->m_virtualStream;
52quint32 Stream::deviceIndex()
const
54 return d->m_deviceIndex;
57bool Stream::isCorked()
const
62bool Stream::hasVolume()
const
64 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 Fri Oct 11 2024 12:12:38 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.