aboutsummaryrefslogtreecommitdiff
path: root/pacmd.py
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-05-21 22:55:32 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-05-21 22:56:55 +0200
commit5afcef2af59e7f8725bfab41d53cb74dc7a3e5d5 (patch)
tree1a80d6230732c8cffec72686133b5a0ab0271ee7 /pacmd.py
parent821b756d26648ba22b33e8a5d97af962d817825b (diff)
DRY/genericity refactor; also sources + source-outputs
Diffstat (limited to 'pacmd.py')
-rw-r--r--pacmd.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pacmd.py b/pacmd.py
index 433e6f1..135c341 100644
--- a/pacmd.py
+++ b/pacmd.py
@@ -138,6 +138,12 @@ def list_sinks():
def list_sink_inputs():
return _pacmd_parsed("list-sink-inputs")
+def list_sources():
+ return _pacmd_parsed("list-sources")
+
+def list_source_outputs():
+ return _pacmd_parsed("list-source-outputs")
+
def _make_indent(n):
return " " * n