Fix #522: add -volume-adjust-pct CLI arg

This commit is contained in:
Drew Weymouth
2025-01-05 16:45:48 -08:00
parent 0b73f47001
commit 9390f7b4e1
5 changed files with 44 additions and 18 deletions
+4
View File
@@ -68,6 +68,10 @@ func (c *Client) SetVolume(vol int) error {
return c.sendRequest(SetVolumePath(vol))
}
func (c *Client) AdjustVolumePct(pct float64) error {
return c.sendRequest(AdjustVolumePctPath(pct))
}
func (c *Client) Show() error {
return c.sendRequest(ShowPath)
}