mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-01-25 01:37:47 +00:00
fix method name
This commit is contained in:
parent
448aa01ad2
commit
6542473394
@ -37,7 +37,7 @@ class BusRotator {
|
|||||||
return $this.Buses[$this.CurrentIndex]
|
return $this.Buses[$this.CurrentIndex]
|
||||||
}
|
}
|
||||||
|
|
||||||
[object] MuteNextBus() {
|
[object] UnmuteNextBus() {
|
||||||
$nextBus = $this.GetNextBus()
|
$nextBus = $this.GetNextBus()
|
||||||
$nextBus.mute = $false
|
$nextBus.mute = $false
|
||||||
return $nextBus
|
return $nextBus
|
||||||
@ -62,7 +62,7 @@ try {
|
|||||||
|
|
||||||
$rotator = [BusRotator]::new($vmr, $busesToRotate)
|
$rotator = [BusRotator]::new($vmr, $busesToRotate)
|
||||||
while ((Read-Host "Press Enter to rotate buses or type 'Q' to quit.") -ne 'Q') {
|
while ((Read-Host "Press Enter to rotate buses or type 'Q' to quit.") -ne 'Q') {
|
||||||
$nextBus = $rotator.MuteNextBus()
|
$nextBus = $rotator.UnmuteNextBus()
|
||||||
Write-Host "Bus $nextBus is now unmuted."
|
Write-Host "Bus $nextBus is now unmuted."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user