diff --git a/pw-access.el b/pw-access.el index cea51d0..f40ebd5 100644 --- a/pw-access.el +++ b/pw-access.el @@ -182,7 +182,7 @@ Note this interface may not work with all PipeWire versions.") (push item array) (pw-cli--next-line)) (nreverse array))))))) - + (defun pw-cli--parse-properties () (pw-cli--next-line) (let ((end (or (save-excursion (re-search-forward "^ Object:" nil t)) diff --git a/pw-lib.el b/pw-lib.el index e198bec..ea8ad65 100644 --- a/pw-lib.el +++ b/pw-lib.el @@ -78,7 +78,7 @@ version, call `pw-lib-refresh' first." (defun pw-lib--object-info (object) (cdr object)) - + (defun pw-lib-object-value (object key &optional default) "Return PipeWire OBJECT value identified by KEY. KEY is a string corresponding to a PipeWire value identifier. @@ -276,7 +276,7 @@ rather than using cached data to obtain the result." (if node-p (cdr (assoc "volume" parameters)) (nth port-id (cdr (assoc (if monitor-p "monitorVolumes" "channelVolumes") parameters))))))) - + (defun pw-lib-set-volume (volume object &optional single-p) "Set the volume of PipeWire OBJECT to VOLUME. VOLUME must be an integer in the range 0-100. @@ -318,7 +318,7 @@ otherwise set the current default sink or source." (pw-lib--set-default-node object stored-p)) (_ (error "Cannot set this kind of object as default.")))) - + (provide 'pw-lib) ;;; pw-lib.el ends here