Convenience subclass pinned to BOTH Stream/Output/Audio and Stream/Input/Audio. More...
#include <PhosphorServicePipeWire/PwNodeModel.h>
Public Member Functions | |
| PwStreamModel (QObject *parent=nullptr) | |
| Public Member Functions inherited from PhosphorServicePipeWire::PwNodeModel | |
| PwNodeModel (QObject *parent=nullptr) | |
| ~PwNodeModel () override | |
| PipeWireConnection * | connection () const |
| QStringList | mediaClasses () const |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| QVariant | data (const QModelIndex &index, int role) const override |
| QHash< int, QByteArray > | roleNames () const override |
| PwNode * | firstNode () const |
| PwNode * | nodeAt (int row) const |
| The node at row, or null when row is out of range. | |
Additional Inherited Members | |
| Public Types inherited from PhosphorServicePipeWire::PwNodeModel | |
| enum | Role { NodeRole = Qt::UserRole + 1 , IdRole = Qt::UserRole + 2 , NameRole = Qt::UserRole + 3 , NickRole = Qt::UserRole + 4 , DescriptionRole = Qt::UserRole + 5 , MediaClassRole = Qt::UserRole + 6 , ChannelCountRole = Qt::UserRole + 7 , VolumesRole = Qt::UserRole + 8 , MutedRole = Qt::UserRole + 9 } |
| Row 0, or null when the model is empty. More... | |
| Public Slots inherited from PhosphorServicePipeWire::PwNodeModel | |
| void | setConnection (PipeWireConnection *connection) |
| Attach the model to a PipeWireConnection (or detach by passing nullptr). | |
| void | setMediaClasses (const QStringList &classes) |
| Replace the media-class filter set. | |
| Signals inherited from PhosphorServicePipeWire::PwNodeModel | |
| void | connectionChanged () |
| void | mediaClassesChanged () |
| void | countChanged () |
| void | firstNodeChanged () |
Convenience subclass pinned to BOTH Stream/Output/Audio and Stream/Input/Audio.
Streams are application-level audio endpoints (Firefox's playback stream, the OBS capture stream, etc.) and the mixer UI typically wants them in one list grouped by direction. Copy/move suppression inherited from PwNodeModel. Same "no `final`" caveat as PwSinkModel.
|
explicit |