OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
audio.pipewire_audio_controller.PipewireAudioController Class Reference

Controls the default PipeWire audio sink using wpctl. More...

Public Member Functions

int steps (self)
 Return the number of discrete volume steps.
int adjust_volume (self, int steps)
 Adjust multiple volume steps with one PipeWire command.

Static Protected Member Functions

str _run_pactl_for_wpctl (list[str] args, *, bool capture, FileNotFoundError wpctl_error)
 Translate supported wpctl operations to pactl commands.

Detailed Description

Controls the default PipeWire audio sink using wpctl.

Member Function Documentation

◆ steps()

int audio.pipewire_audio_controller.PipewireAudioController.steps ( self)

Return the number of discrete volume steps.

Returns
Count of selectable volume levels.

The documentation for this class was generated from the following file:
  • controllers/audio/pipewire_audio_controller.py