mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-09 17:33:33 +00:00
appgain, appmute
- missing closing parenthesis in AppMute value string - AppGain, AppMute overloads for index prelim manual tests for potato pass
This commit is contained in:
@@ -182,8 +182,16 @@ class VirtualStrip : Strip {
|
||||
$this.Setter('AppGain', "(`"$appname`", $gain)")
|
||||
}
|
||||
|
||||
[void] AppGain ([int]$appindex, [single]$gain) {
|
||||
$this.Setter("App[$appindex].Gain", $gain)
|
||||
}
|
||||
|
||||
[void] AppMute ([string]$appname, [bool]$mutestate) {
|
||||
$this.Setter('AppMute', "(`"$appname`", $(if ($mutestate) { 1 } else { 0 })")
|
||||
$this.Setter('AppMute', "(`"$appname`", $(if ($mutestate) { 1 } else { 0 }))")
|
||||
}
|
||||
|
||||
[void] AppMute ([int]$appindex, [bool]$mutestate) {
|
||||
$this.Setter("App[$appindex].Mute", $mutestate)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user