Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorServicePipeWire::PwAudioProbe Class Reference

On-demand audio test. More...

#include <PhosphorServicePipeWire/PwAudioProbe.h>

Inheritance diagram for PhosphorServicePipeWire::PwAudioProbe:
[legend]

Signals

void activeChanged ()
void levelChanged ()
void error (const QString &message)

Public Member Functions

 PwAudioProbe (QObject *parent=nullptr)
 ~PwAudioProbe () override
bool listening () const
bool playing () const
qreal level () const
void startInputTest (const QString &nodeName)
void playTestSound (const QString &nodeName)
void stop ()

Detailed Description

On-demand audio test.

Captured samples are reduced to a peak in memory; they are never retained or played back. Destruction stops all streams.

Constructor & Destructor Documentation

◆ PwAudioProbe()

PhosphorServicePipeWire::PwAudioProbe::PwAudioProbe ( QObject * parent = nullptr)
explicit

◆ ~PwAudioProbe()

PhosphorServicePipeWire::PwAudioProbe::~PwAudioProbe ( )
override

Member Function Documentation

◆ activeChanged

void PhosphorServicePipeWire::PwAudioProbe::activeChanged ( )
signal

◆ error

void PhosphorServicePipeWire::PwAudioProbe::error ( const QString & message)
signal

◆ level()

qreal PhosphorServicePipeWire::PwAudioProbe::level ( ) const
nodiscard

◆ levelChanged

void PhosphorServicePipeWire::PwAudioProbe::levelChanged ( )
signal

◆ listening()

bool PhosphorServicePipeWire::PwAudioProbe::listening ( ) const
nodiscard

◆ playing()

bool PhosphorServicePipeWire::PwAudioProbe::playing ( ) const
nodiscard

◆ playTestSound()

void PhosphorServicePipeWire::PwAudioProbe::playTestSound ( const QString & nodeName)

◆ startInputTest()

void PhosphorServicePipeWire::PwAudioProbe::startInputTest ( const QString & nodeName)

◆ stop()

void PhosphorServicePipeWire::PwAudioProbe::stop ( )

The documentation for this class was generated from the following file:
  • phosphor-service-pipewire/include/PhosphorServicePipeWire/PwAudioProbe.h